patch applied (packages/Win32): Avoid calling SelectObject() at two different types in the same file.

Simon Marlow simonmarhaskell at gmail.com
Wed May 14 04:46:55 EDT 2008


Mon May 12 07:47:35 PDT 2008  Simon Marlow <simonmar at microsoft.com>
  * Avoid calling SelectObject() at two different types in the same file.
  This causes problems for the via-C backend, because the C compiler
  doesn't allow two different prototypes to be in scope, and yet we need
  prototypes in order to get the stdcall @n suffix (the ccall calling
  convention is unaffected).

    M ./Graphics/Win32/GDI/HDC.hs -1 +3
    M ./include/HsGDI.h +4

View patch online:
http://darcs.haskell.org/packages/Win32/_darcs/patches/20080512144735-760e2-f1fd137045f73cb6851c8ff0d01e442d331173b4.gz


More information about the Cvs-libraries mailing list