! Copyright (C) 2008 _hrrld ! See http://factorcode.org/license.txt for BSD license. ! 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 ( ) ;