httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: cvs commit: httpd-apreq-2/glue/perl/xsbuilder apreq_xs_postperl.h
Date Tue, 14 Oct 2003 22:22:35 GMT

> May be you don't need dXSARGS, if you don't use 'items'? It's defined as:
> 
> #define dXSARGS                \
>     dSP; dMARK;            \
>     dAX; dITEMS
> 
> so you can use only those macros that you really need.

ah, I figured there must have been a better way
> 
> The
> 
>   items = items;  /* -Werror */
> 
> workaround is really only useful for autogenerated code, which has no 
> idea if items is needed or not.

well, I got the idea from Apache.xs in mp1, which uses this kind of 
workaround a lot (and isn't autogenerated :)  but you're probably right :)

--Geoff


Mime
View raw message