]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/atk/ffi/ffi.factor
factor: more top level forms.
[factor.git] / basis / atk / ffi / ffi.factor
index 4082c4a04beb78266fd32c172e78d08857ccaf68..2ed15e754cb0d08e87e53d0175029bbe79154c8e 100644 (file)
@@ -1,17 +1,15 @@
 ! Copyright (C) 2010 Anton Gorenko.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien alien.libraries alien.syntax combinators
-gobject-introspection system vocabs ;
+gobject-introspection system vocabs vocabs.platforms ;
 IN: atk.ffi
 
 << "gobject.ffi" require >>
 
 LIBRARY: atk
 
-<< "atk" {
-    { [ os windows? ] [ "libatk-1.0-0.dll" ] }
-    { [ os macosx? ] [ "libatk-1.0.dylib" ] }
-    { [ os unix? ] [ "libatk-1.0.so" ] }
-} cond cdecl add-library >>
+LIBRARY-UNIX: atk cdecl "libatk-1.0.so"
+LIBRARY-MACOSX: atk cdecl "libatk-1.0.dylib"
+LIBRARY-WINDOWS: atk cdecl "libatk-1.0-0.dll"
 
 GIR: vocab:atk/Atk-1.0.gir