]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/gobject/ffi/ffi.factor
gobject-introspection: don't generate C-TYPEs for boxed types that already exist...
[factor.git] / basis / gobject / ffi / ffi.factor
index eac9f34fca0a784bd356ab20416f55f8fb488fb6..c9d9c21af80a0174759e54b36169ca2bdd34bae8 100644 (file)
@@ -4,9 +4,12 @@ USING: alien alien.destructors alien.libraries alien.syntax kernel
 combinators gobject-introspection literals math system vocabs.loader ;
 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
 >>
+USE: glib.ffi
 
 LIBRARY: gobject
 
@@ -17,7 +20,7 @@ LIBRARY: gobject
 } cond
 >>
 
-IMPLEMENT-STRUCTS: GError GValue GParamSpecVariant ;
+IMPLEMENT-STRUCTS: GValue GParamSpecVariant ;
 
 GIR: vocab:gobject/GObject-2.0.gir