Multiple packages in a single .so
- From: Wouter Verhelst <wouter nixsys be>
- To: gtk-perl-list gnome org
- Subject: Multiple packages in a single .so
- Date: Wed, 25 Apr 2007 11:26:53 +0200
Hi,
I'm writing perl bindings for a Glib-using library, by following the
tutorial that I was pointed to on this list a while back.
It works, mostly; I have .xs files for each of my GObject definitions,
and they get compiled and linked into a single .so file that perl
happily loads if I say "use MyModule;".
However, what I don't seem to be able to do is to tell perl about all
the different GObjects, similar to what happens with Gtk2::Window when
you say "use Gtk2 -init;" (and only that).
Any hints what I should be looking at to make "MyModule::foo::bar()"
work when I did just "use MyModule"?
--
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]