apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: apr_dbd: a generic SQL wrapper
Date Fri, 10 Dec 2004 09:08:10 GMT
Nick Kew wrote:

>To take a real example from the existing drivers, that works with
>
>    typedef struct apr_dbd_prepared apr_dbd_prepared;
>
>    struct apr_dbd_prepared {
>        const char *name;
>        int prepared;
>    };
>
>but fails with
>
>    typedef struct apr_dbd_prepared apr_dbd_prepared;
>
>    typedef MYSQL_STMT apr_dbd_prepared;
>
>IOW, removing the #ifdefs would force drivers to wrap everything,
>even if they have no good reason to do so.  KISS!
>  
>
I see. Well, in this case, I think no kissing...

-- Brane

Mime
View raw message