perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: PerlIO::APR: getting the memory pool
Date Thu, 06 Dec 2001 19:41:06 GMT
On Thu, 6 Dec 2001, Stas Bekman wrote:
 
> While we are at it. I've placed the implementation into 
> modperl_perlio.c|h and xs/APR/IO/APR_IO.h. Is that OK?

should be: xs/APR/PerlIO/APR__PerlIO.h
 
> yes, there is, but the problem is translating errno from APR to Perl's 
> errno. Perl's SETERRNO accepts special predefined errcode

those are just constants.  you can do this:
SETERRNO(errno_pulled_out_of_apr_status_t, 0);

we can worry about the vms code later if modperl ever happens to be ported
to that platform.




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


Mime
View raw message