Re: Gnome2::Print binding
- From: Emmanuele Bassi <bassi-e libero it>
- To: GTK-Perl ML <gtk-perl-list gnome org>
- Subject: Re: Gnome2::Print binding
- Date: Fri, 15 Aug 2003 03:12:54 +0200
* muppet <scott asofyet org>:
And remember: do not beat me too hard. ;-)
just a couple of things noted from looking at the patch....
xsubs which use PPCODE *must* return void.
ansi-style xsubs might have saved you some work in a few spots...
I'm still trying to grasp the difference between ansi-style and k&r-style
xsubs. Ansi-style seems to work for basic types, but not for complex
types such as GObject-derived types, etc.
be sure that you use gchar_own on the return value for strings that
you're supposed to free.
I do not know. :-)
perhaps you need gperl_object_set_no_warn_unreg_subclass?
That did the trick. :-)
Emmanuele Bassi (Zefram) [ http://digilander.libero.it/ebassi/ ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
] [Thread Prev