Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: modules!??



Stefan Monnier wrote:
>IIRC, the ANSI C standard allows different sizes for different kinds of
>pointers but requires that void* is big enough to hold any pointer (so that
>casting to void* and back is a safe operation). So it's not just the dlsym
>interface.

That's only for data pointers.  Function pointers are not guaranteed to be
losslessly convertible to void *, nor vice versa.  Function pointer types
are all guaranteed to be losslessly convertible to each other, however.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author