]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/gdk/ffi/ffi.factor
factor: more top level forms.
[factor.git] / basis / gdk / ffi / ffi.factor
index b4fb9b94de88ce888c052392cb045b48bc7af154..d7b52b2aa6ee3c565f50ab97e6abf3603cc666b2 100644 (file)
@@ -13,13 +13,8 @@ IN: gdk.ffi
 
 LIBRARY: gdk
 
-<<
-"gdk" {
-    { [ os windows? ] [ "libgdk-win32-2.0-0.dll" cdecl add-library ] }
-    { [ os macosx? ] [ drop ] }
-    { [ os unix? ] [ "libgdk-x11-2.0.so" cdecl add-library ] }
-} cond
->>
+LIBRARY-UNIX: gdk cdecl "libgdk-x11-2.0.so"
+LIBRARY-WINDOWS: gdk cdecl "libgdk-win32-2.0-0.dll"
 
 ! <workaround these types are from cairo 1.10
 STRUCT: cairo_rectangle_int_t