perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: adding APR::Status?
Date Wed, 20 Apr 2005 03:57:26 GMT
On Tue, 19 Apr 2005, Stas Bekman wrote:

> Randy Kobes wrote:
> > On Tue, 19 Apr 2005, Randy Kobes wrote:
> > [ ... ]
> >
> >>APR::Status::is_EAGAIN sounds good ... I'll make up a
> >>modified patch doing this, defined as a macro, for just
> >>EAGAIN.
> >
> >
> > Here it is ...
> [...]
> > Index: xs/APR/Status/APR__Status.h
> [...]
> > +#define mpxs_APR__Status_is_EAGAIN(rc) APR_STATUS_IS_EAGAIN(aTHX_ rc)
>
> why the aTHX_? it doesn't work.
>
> The following should do the trick:
>
> #define mpxs_APR__Status_is_EAGAIN APR_STATUS_IS_EAGAIN
>
> Randy, please don't forget the doc part. Thanks :)
>
> Otherwise +1

Thanks, Stas - I'll remove the aTHX_, and also add some
docs.

-- 
best regards,
randy

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


Mime
View raw message