Re: yap - Gnome2::About

On Thu, 2003-04-17 at 17:58, Chas Owens wrote:
I have stolen some code from Gtk-Perl, cleaned it up (NULL instead of 0,
const gchar** instead of char**, etc.), and modified it to match the new
arguments for Gnome2::About.

sweet!  thanks!

applied, with some changes:  you need the PREINIT section for declaring
C stack variables.  this XS gets compiled by a C compiler, not a C++
compiler, so you can't just declare variables anywhere!  the PREINIT
section gets inserted into the generated code at the top of the block,
before the section where the perl stack variables are converted for you.

(added the extra free, too)

muppet <scott asofyet org>

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