You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2001/11/29 11:07:00 UTC

Re: cvs commit: modperl-2.0/lib/ModPerl WrapXS.pm

dougm@apache.org wrote:

> dougm       01/11/28 09:05:56
> 
>   Modified:    lib/ModPerl WrapXS.pm
>   Log:
>   another fix for modules with only MPXS_ functions


that fixes the problem I've reported.

Now I've found a new one. Consider:

xs/APR/IO/APR__IO.h:
--------------------
static void mpxs_APR__IO_BOOT(pTHX)
{
     PerlIO_define_layer(aTHX_ &PerlIO_APR);
}

xs/maps/modperl_functions.map:
------------------------------
MODULE=APR::IO PACKAGE=APR::IO BOOT=1

source_scan won't create Wrap/APR/IO.xs unless I add a dummy function. I 
think it's absolutely possible to have a lib with only the boot 
function. In my case I just didn't add new functions yet...

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org