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

Re: modules!??



Zefram <zefram@xxxxxxxxxxxxxxxxx> writes:
> extract a working function pointer from it, and vice versa.  However, on
> second thoughts, the dlsym() interface assumes that all pointers can
> be converted to void * anyway, so I suppose it wouldn't be a problem to

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.


        Stefan



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