Paste: freeimage
Author: | _hrrld |
Mode: | factor |
Date: | Wed, 12 Nov 2008 05:28:23 |
Plain Text |
USING: system combinators alien alien.syntax ;
IN: freeimage
<<
"freeimage" {
{ [ os winnt? ] [ "freeimage.dll" ] }
{ [ os macosx? ] [ "" ] }
{ [ os unix? ] [ "" ] }
} cond "cdecl" add-library
>>
LIBRARY: freeimage
FUNCTION: char* FreeImage_GetVersion ( ) ;
Author: | _hrrld |
Mode: | factor |
Date: | Wed, 12 Nov 2008 05:56:37 |
Plain Text |
USING: system combinators alien alien.syntax ;
IN: freeimage
<<
"freeimage" {
{ [ os winnt? ] [ "freeimage.dll" ] }
{ [ os macosx? ] [ "" ] }
{ [ os unix? ] [ "" ] }
} cond "stdcall" add-library
>>
LIBRARY: freeimage
FUNCTION: char* _FreeImage_GetVersion ( ) ;
New Annotation