On Aug 27, 2011, at 6:32 PM, Slava Pestov wrote:

> resource:basis/gdk/pixbuf/ffi/ffi.factor
> 
> 27:     f { { pointer: GError initial: f } }
>                             ^
> More than one vocabulary defines a word named “GError”
> 
> The following restarts are available:
> 
> :1      Use the glib.ffi vocabulary
> :2      Use the gobject.ffi vocabulary
> :3      Load resource:basis/gdk/pixbuf/ffi/ffi.factor again
> 4 :res  Load resource:basis/gdk/ffi/ffi.factor again
> 5 :res  Load resource:basis/ui/backend/gtk/gtk.factor again

I'm kind of in the dark with the gobject introspection stuff, but I pushed a 
patch to move the GError generation over to gobject.ffi, since GError itself 
appears to be defined by the GObject.gir file. Let me know if that helps.

> Looks like the ffi definition for gdk_pixbuf_get_pixels is wrong; look
> at the return type:
> 
> USING: alien.syntax gobject-introspection.standard-types ;
> IN: gdk.pixbuf.ffi
> LIBRARY: gdk.pixbuf FUNCTION: guint8 gdk_pixbuf_get_pixels
>    ( GdkPixbuf* pixbuf ) ; inline

I think I'll need to leave that to Anton or Philipp to work out.

-Joe

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to