in reply to XS Info

Inline::C has a somewhat less vertical learning curve than straight XS, and also has generally useful cookbook.

In any case, the typemap declarations are what you want to look at for data type passing. It may be most direct to look at an example typemap from some C library wrapper module, and compare it to the library's headers and EXTERN.h, perl.h, and XSUB.h.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: XS Info
by derby (Abbot) on Sep 03, 2002 at 22:52 UTC
    <toot>Getting Started with Inline::C</toot>

    But for more completeness check out manning's extending and embedding perl (link below in MZSanford's node). It is "dense" - in a good way - and definetly delves deep into the internals. You can also check out Advanced Perl Programming - especially chapters 18,19, and 20.

    -derby