apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Fogel <kfo...@newton.ch.collab.net>
Subject Re: bogus compiler warnings in macros that take `socket'
Date Tue, 16 Jul 2002 03:58:35 GMT
Cliff Woolley <jwoolley@virginia.edu> writes:
> Rather than having a separate parameter to the macro, I think I'd rather
> see something like this:
> #define APR_DECLARE_INHERIT_SET(name) \
>     APR_DECLARE(apr_status_t) apr_##name##_inherit_set( \
>                                              apr_##name##_t *the##name)
> thesocket, mysocket, socket_param, something like that.

Much better solution!  I totally didn't think of that.

Unless anyone objects, I will be committing this sometime in the next
few days.  (Unless you want it, Cliff, in which case it's all yours.)


View raw message