apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: bogus compiler warnings in macros that take `socket'
Date Tue, 16 Jul 2002 03:55:32 GMT
On 15 Jul 2002, Karl Fogel wrote:

>  #define APR_DECLARE_INHERIT_SET(name) \
>      APR_DECLARE(apr_status_t) apr_##name##_inherit_set(apr_##name##_t *name)

That's what I figured.  :-/

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.

--Cliff


Mime
View raw message