List Info

Thread: Generic glue code?




Generic glue code?
country flaguser name
Belgium
2007-02-09 10:49:27
Hi,

I wrote some GObject-based code for an internal project
here. I might
like to be able to access that code from perl now.

The GObject documentation hints at some generic glue code
that would
have been written for Perl, but I don't really see how or
where to use
it. I'd be grateful for any pointers you could give me.

Thanks,

-- 
Wouter Verhelst
NixSys BVBA
Louizastraat 14, 2800 Mechelen
T: +32 15 27 69 50 / F: +32 15 27 69 51 / M: +32 486 836
198
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Generic glue code?
country flaguser name
United Kingdom
2007-02-09 10:55:05
hi;

On Fri, 2007-02-09 at 17:49 +0100, Wouter Verhelst wrote:

> I wrote some GObject-based code for an internal project
here. I might
> like to be able to access that code from perl now.
> 
> The GObject documentation hints at some generic glue
code that would
> have been written for Perl, but I don't really see how
or where to use
> it. I'd be grateful for any pointers you could give
me.

usually, following the binding how to should be enough:

  http://gtk2-perl.sourceforge.net/doc/binding_howto.po
d.html

for the perl XS part, there's the perlguts, perlxs and
perlxstut pages
in perldoc.

and finally, taking a small Perl binding module from the CVS
and copying
the layout should be enough to begin wrapping a library. 
Last time I
wrapped something GObject-based it took me 15 minutes to
have a working
module. 

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: ebassigmail.com
W: http://www.emmanuelebas
si.net
B: http://log.emmanuelebas
si.net

_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )