apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: cvs commit: apr/test testhash.c
Date Sun, 18 Apr 2004 19:26:56 GMT
* rbb@rkbloom.net wrote:

> I've never seen function pointer types defined that way.

Heh, httpd does it all the time ;-)

> The biggest
> problem is that this type can't be used without a * in front of the
> variable.  Not a big deal, but it does make the type less usefull.

that's right. but makes it very explicit and protects you from nasty typos.

> Also,
> the current definition is how all of the existing function pointers are
> defined in both APR and APR-util.
>  Feel free to change it if you want though.

Would probably be a compat problem (besides the fact that I don't have apr
karma). So let's just leave it as is.

Winnetous Erbe: <http://pub.perlig.de/books.html#apache2>

View raw message