From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5641 invoked from network); 8 Jun 1997 12:05:21 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 8 Jun 1997 12:05:21 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA09906; Sun, 8 Jun 1997 07:51:02 -0400 (EDT) Resent-Date: Sun, 8 Jun 1997 07:51:02 -0400 (EDT) From: Zefram Message-Id: <680.199706081149@stone.dcs.warwick.ac.uk> Subject: Re: modules!?? To: monnier+/news/lists/zsh/workers@TEQUILA.SYSTEMSZ.CS.YALE.EDU (Stefan Monnier) Date: Sun, 8 Jun 1997 12:49:22 +0100 (BST) Cc: zsh-workers@math.gatech.edu (Z Shell workers mailing list) In-Reply-To: <5l7mg6tcrg.fsf@tequila.systemsz.cs.yale.edu> from "Stefan Monnier" at Jun 7, 97 03:48:51 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]9452.46 X-Phase: The Moon is Waxing Crescent (11% of Full) X-US-Congress: Moronic fuckers X-Personality: INTJ X-This-is-not-HTML: Content-Type: text Resent-Message-ID: <"_tJp61.0.jQ2.cofcp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3219 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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