Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: modules!??
- X-seq: zsh-workers 3218
- From: Stefan Monnier <monnier+/news/lists/zsh/workers@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: modules!??
- Date: 07 Jun 1997 15:48:51 -0400
- References: <9706051824.AA14896@xxxxxxxxxxxxxxxxxxxxxxxx> <13453.199706051911@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: monnier@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
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