Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: modules!??
- X-seq: zsh-workers 3219
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: monnier+/news/lists/zsh/workers@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Stefan Monnier)
- Subject: Re: modules!??
- Date: Sun, 8 Jun 1997 12:49:22 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- In-reply-to: <5l7mg6tcrg.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from "Stefan Monnier" at Jun 7, 97 03:48:51 pm
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