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 07:54:15 GMT
On Thu, Sep 16, 2004 at 12:35:27PM -0400, Joe Schaefer wrote:
> Here's a patch (I only tested that it compiles cleanly on linux).
> I avoided the dummy wrapper, but the code should amount to the 
> same thing, since a pointer to the above struct is just a pointer
> to a function pointer.

Hmmm, I dunno actually.  Your point about dlsym() is a good one. 
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.

joe

Mime
View raw message