Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mimsy!eneevax!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: comp.lang.c Subject: Re: How big is a (??? *) Message-ID: <5897@brl-smoke.ARPA> Date: Thu, 28-May-87 00:05:34 EDT Article-I.D.: brl-smok.5897 Posted: Thu May 28 00:05:34 1987 Date-Received: Sat, 30-May-87 11:30:26 EDT References: <1217@cullvax.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <1217@cullvax.UUCP> drw@cullvax.UUCP (Dale Worley) writes: >Now, cast everything to and from 'handle' -- by ANSI C, casting a >pointer to char * and back is guaranteed to not screw up. Use (void *) if you got `em. By the way, some people would prefer to reserve the name "handle" for a fixed pointer to a dynamic pointer. This technique is used, for example, in the Apple IIGS to permit substitution of RAM patches for ROM routines, to support dynamic load segments, and other similar purposes.