]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/gobject/ffi/ffi.factor
basis/extra: cleanup uses of add-library.
[factor.git] / basis / gobject / ffi / ffi.factor
index ccdf210a1e118e89be3dc30bce78b2026edde2ee..a25741a47a9acb063b3f0eaf9914fc4a774cfe06 100644 (file)
@@ -1,25 +1,21 @@
 ! Copyright (C) 2010 Anton Gorenko.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.destructors alien.libraries alien.syntax kernel
+USING: alien alien.destructors alien.libraries alien.syntax
 combinators gobject-introspection literals math system vocabs ;
 IN: gobject.ffi
 
 ! these two are needed for the definition of GError and others.
 ! otherwise we generate GError and some others in this vocab as well.
-<<
-"glib.ffi" require
->>
+<< "glib.ffi" require >>
 USE: glib.ffi
 
 LIBRARY: gobject
 
-<<
-"gobject" {
-    { [ os windows? ] [ "libobject-2.0-0.dll" cdecl add-library ] }
-    { [ os macosx? ] [ "libgobject-2.0.dylib" cdecl add-library ] }
-    { [ os unix? ] [ "libgobject-2.0.so" cdecl add-library ] }
-} cond
->>
+<< "gobject" {
+    { [ os windows? ] [ "libobject-2.0-0.dll" ] }
+    { [ os macosx? ] [ "libgobject-2.0.dylib" ] }
+    { [ os unix? ] [ "libgobject-2.0.so" ] }
+} cond cdecl add-library >>
 
 IMPLEMENT-STRUCTS: GValue GParamSpecVariant ;