From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3227 invoked from network); 7 Jun 1997 19:59:10 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Jun 1997 19:59:10 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA00909; Sat, 7 Jun 1997 15:45:03 -0400 (EDT) Resent-Date: Sat, 7 Jun 1997 15:45:03 -0400 (EDT) To: zsh-workers@math.gatech.edu Sender: monnier@TEQUILA.SYSTEMSZ.CS.YALE.EDU From: Stefan Monnier Newsgroups: lists.zsh.workers Subject: Re: modules!?? References: <9706051824.AA14896@belgium.fishkill.ibm.com> <13453.199706051911@stone.dcs.warwick.ac.uk> Date: 07 Jun 1997 15:48:51 -0400 Message-ID: <5l7mg6tcrg.fsf@tequila.systemsz.cs.yale.edu> X-Newsreader: Gnus v5.3/Emacs 19.34 Path: tequila.systemsz.cs.yale.edu NNTP-Posting-Host: tequila.systemsz.cs.yale.edu Resent-Message-ID: <"UZ2br1.0.5E.-eRcp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3218 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zefram 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