On 12 October 2011 13:11, Torsten Schoenfeld <kaffeeti...@gmx.de> wrote:
> You have to call Foo_Bar.xs' BOOT section (which wires up the xsubs) from
> Foo.xs' BOOT section.  Look at Glib.xs' BOOT section for an example.  For
> Gtk2 and below, this is handled by Gtk2::CodeGen->write_boot.

Thank you for your quick response. I'm still struggling, so I made a
small example  (attached), which fails to compile, trying to base the
boot mechanism on that in Glib:

foo.xs: In function 'void boot_Foo(PerlInterpreter*, CV*)':
foo.xs:18: error: expected unqualified-id before string constant
foo.xs:18: error: 'boot_Foo__Bar' was not declared in this scope

Any ideas?

Thanks

Jeff

Attachment: Foo-0.01.tar.gz
Description: GNU Zip compressed data

Reply via email to