On Wed, Sep 12, 2001 at 09:59:46AM -0700, Doug MacEachern wrote:
> On Tue, 11 Sep 2001, Philippe M . Chiasson wrote:
>
> > I hope this one is obvious ...
> >
> > xs/modperl_xs_sv_convert.h is full if nasty (love them) macros to deal with
> > conversion of blessed SV* back to their pointer form and some more.
>
> :)
>
> > I can't figure out how to define a new alias like that, so I don't have to do:
> >
> > #define mp_xs_sv2_table mp_xs_sv2_APR__Table
> >
> > to get this to work:
> >
> > APR__Table table;
> > mpxs_usage_va_1(table,"$table->do(sub,[@filter])");
>
> see %Apache::TypeMap::convert_alias, should just need to add:
> APR__Table => 'table'
>
Thanks, I searched for that one quite a bit ;-)
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
Had to create %s unexpectedly : A routine asked for a
symbol from a symbol table that ought to have existed
already, but for some reason it didn't, and had to be
created on an emergency basis to prevent a core dump.
-- perldiag(1)
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
PGP signature