-! Copyright (C) 2009 Anton Gorenko.
+! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.libraries combinators kernel system
-gobject-introspection glib.ffi gobject.ffi ;
-EXCLUDE: alien.c-types => pointer ;
+USING: alien alien.libraries alien.syntax combinators
+gobject-introspection system vocabs ;
IN: gio.ffi
-<<
-"gio" {
- { [ os winnt? ] [ "libgio-2.0-0.dll" cdecl add-library ] }
- { [ os macosx? ] [ drop ] }
- { [ os unix? ] [ "libgio-2.0.so" cdecl add-library ] }
-} cond
->>
+<< "gobject.ffi" require >>
-GIR: vocab:gio/Gio-2.0.gir
+LIBRARY: gio
+
+<< "gio" {
+ { [ os windows? ] [ "libgio-2.0-0.dll" ] }
+ { [ os macosx? ] [ "libgio-2.0.dylib" ] }
+ { [ os unix? ] [ "libgio-2.0.so" ] }
+} cond cdecl add-library >>
+GIR: vocab:gio/Gio-2.0.gir