Re: Passing a GType to a native function from Perl



On 14.11.2011 09:23, Emmanuel Rodriguez wrote:
WebKit registers some "features" that I would like to remove from a
Perl script. I couldn't find a direct way to pass a GType or to
retrieve one from Perl without using XS. Is that possible?

G:O:Introspection has code to handle this in exactly the way you do in the xsub:

<http://git.gnome.org/browse/perl-Glib-Object-Introspection/tree/gperl-i11n-marshal-arg.c#n83>
<http://git.gnome.org/browse/perl-Glib-Object-Introspection/tree/gperl-i11n-marshal-arg.c#n195>

Does that not work for you?



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