From: Zefram <zefram@dcs.warwick.ac.uk>
To: monnier+/news/lists/zsh/workers@TEQUILA.SYSTEMSZ.CS.YALE.EDU
(Stefan Monnier)
Cc: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Re: modules!??
Date: Sun, 8 Jun 1997 12:49:22 +0100 (BST) [thread overview]
Message-ID: <680.199706081149@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <5l7mg6tcrg.fsf@tequila.systemsz.cs.yale.edu> 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
next prev parent reply other threads:[~1997-06-08 12:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-05 1:35 modules!?? Wez Furlong
1997-06-05 5:45 ` modules!?? Zoltan Hidvegi
1997-06-05 17:33 ` modules!?? Zefram
1997-06-05 18:24 ` modules!?? Zoltan T. Hidvegi
1997-06-05 19:11 ` modules!?? Zefram
1997-06-05 19:22 ` modules!?? Zoltan T. Hidvegi
1997-06-05 19:46 ` modules!?? Zoltan T. Hidvegi
1997-06-07 19:48 ` modules!?? Stefan Monnier
1997-06-08 11:49 ` Zefram [this message]
1997-06-05 12:33 modules!?? Wez Furlong
1997-06-05 14:17 ` modules!?? Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=680.199706081149@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=monnier+/news/lists/zsh/workers@TEQUILA.SYSTEMSZ.CS.YALE.EDU \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).