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 2002/04/06 06:30:24 UTC

need to adjust modperl 2.0's typemap for extension writers

Since it seems that I'm the first writer of XS extensions outside of 
mod_perl WrapXS I've a few bumps to solve:

modperl 2.0's xs/typemap while includes the conversions for certain types
it doesn't include the typemap declaration, so XS extensions have to
add things like:

Apache::RequestRec 
         T_APACHEOBJ
APR::Pool                       T_PTROBJ

to the local typemap file. Would be nice if mod_perl had these
declared already in its typemap. I think that all the WrapXS 
xs/maps/*types.map should be converted at the build time to a normal 
typemap for extensions to use.



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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


Re: need to adjust modperl 2.0's typemap for extension writers

Posted by Doug MacEachern <do...@covalent.net>.
On Sun, 7 Apr 2002, Stas Bekman wrote:

> Now do we manually add '-typemap Apache2/typemap' to the 
> WriteMakefile()? or should this be arranged automatically for extensions 
> inside modperl-2.0 package?

yeah.  something like what Apache::src::typemaps did.  need an Apache::src 
equiv in general for extensions.



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


Re: need to adjust modperl 2.0's typemap for extension writers

Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:
> xs/typemap and WrapXS/typemap are now catted together and installed into 
> Apache2/typemap

Thanks
Now do we manually add '-typemap Apache2/typemap' to the 
WriteMakefile()? or should this be arranged automatically for extensions 
inside modperl-2.0 package?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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


Re: need to adjust modperl 2.0's typemap for extension writers

Posted by Doug MacEachern <do...@covalent.net>.
xs/typemap and WrapXS/typemap are now catted together and installed into 
Apache2/typemap




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