apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: optional function pointer casts to/from (void *)
Date Fri, 17 Sep 2004 15:58:56 GMT
On Fri, Sep 17, 2004 at 11:20:35AM -0400, Joe Schaefer wrote:
> In retrospect, it's too bad apr followed the same nonportable
> dlsym() API that POSIX did.  Otherwise it could have been 
> another "portability" selling point for apr :-/.

Then you'd need two separate apr_dso_sym functions, one to return object
pointers and one function pointers, and that would be API complication
for the sake of being pedantic. :)

I think just leaving everything as-is until someone actually wants to
use APR on a platform which has different sized function and object
pointers is OK...


View raw message