Stas Bekman <[EMAIL PROTECTED]> writes:
>> So all you need is the "normal" OBJECT => '$(O_FILES)' 
>> that anything with multiple .o files needs.
>
>yay, why things are always so simple when somebody tells you how ;)
>
>I've added :
>
>BOOT:
># boot the second XS file
>boot_Bar();

boot_Bar() is an XS() so it expects some args

I think 

 boot_Bar(aTHX_ cv);

Will suffice - it will pass "wrong" CV *, but that is unlikely to matter.
However for MULTIPLICITY (or threads) the aTHX_ will ensure a my_perl
is passed.

>
>to Foo.xs and it all worked!
>
>Thanks Nick!
>
>do we have some place where this trick (technique) can be documented? 
>I'll submit a patch.
>
>or should we start something like perlmmtut.pod? where this kind of 
>tricks can go to?
>
>__________________________________________________________________
>Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
>http://stason.org/     mod_perl Guide ---> http://perl.apache.org
>mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
>http://modperlbook.org http://apache.org   http://ticketmaster.com
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to