I've learned that WRAP/XS cannot handle 'char **' prototypes. It just
steps over the function.
I still wasn't able to user the same workaround used for
modperl_bucket_read. Any solutions for that? I'm trying to generate XS
for the function of this type:
int mpxs_Apache__Foo_test(const char **argv);
if I pass 'AV', what's the easy way to convert it to 'char **', the
default typemap is supposed to do that as T_PACKEDARRAY XS type. Should
I call:
T_PACKEDARRAY
$var = XS_unpack_$ntype($arg)
Are there any other "invalid" prototypes and workarounds for these
documented somewhere? At least if the function is rejected is it
possible to print a warning or something?
Thanks.
_____________________________________________________________________
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
|