]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/atk/ffi/ffi.factor
factor: trim using lists
[factor.git] / basis / atk / ffi / ffi.factor
index 2577a23b3dbf2a01e1421f87e712f7515d0f2ce6..4082c4a04beb78266fd32c172e78d08857ccaf68 100644 (file)
@@ -1,20 +1,17 @@
 ! Copyright (C) 2010 Anton Gorenko.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien alien.libraries alien.syntax combinators
-gobject-introspection kernel system vocabs.loader ;
+gobject-introspection system vocabs ;
 IN: atk.ffi
 
-<<
-"gobject.ffi" require
->>
+<< "gobject.ffi" require >>
 
 LIBRARY: atk
 
-<<
-"atk" {
-    { [ os windows? ] [ "libatk-1.0-0.dll" cdecl add-library ] }
-    { [ os unix? ] [ drop ] }
-} cond
->>
+<< "atk" {
+    { [ os windows? ] [ "libatk-1.0-0.dll" ] }
+    { [ os macosx? ] [ "libatk-1.0.dylib" ] }
+    { [ os unix? ] [ "libatk-1.0.so" ] }
+} cond cdecl add-library >>
 
 GIR: vocab:atk/Atk-1.0.gir