Re: GType GString is not registered with gperl at Glib/Object/Introspection.pm



On 06.11.2011 21:25, Emmanuel Rodriguez wrote:
*** unhandled exception in callback:
***   GType GString (156083704) is not registered with gperl at
/usr/local/lib/perl/5.12.4/Glib/Object/Introspection.pm line 57.
***  ignoring at /usr/local/share/perl/5.12.4/Gtk3.pm line 104.

This comes from the code in Glib that handles boxed types. It turns out that we don't have a boxed wrapper for G_TYPE_GSTRING. (To our defense, this WebKit API is the first instance of GString occurring in an API that I've seen.) The boxed wrapper would most likely be a very thin shell around newSVpv and SvPV. The G_TYPE_STRV wrapper might serve as an example.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]