apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: optional function pointer casts to/from (void *)
Date Fri, 17 Sep 2004 15:20:35 GMT
Joe Orton <jorton@redhat.com> writes:

> apr_dso.h is similarly broken on any platform where
> a function pointer is a different size to a normal pointer,
> so maybe this is just being pedantic for the sake of being
> pedantic.

If the apr* libraries are only intended for platforms
that apr_dso can support, then you're probably right.  If
not, it might be nice to provide the optional-function 
API as a surrogate for dlsym().

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 :-/.


-- 
Joe Schaefer


Mime
View raw message