! 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 ;