Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site 3comvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!glacier!oliveb!3comvax!mykes From: mykes@3comvax.UUCP (Mike Schwartz) Newsgroups: net.micro.amiga Subject: Re: header files Message-ID: <382@3comvax.UUCP> Date: Thu, 23-Jan-86 20:58:22 EST Article-I.D.: 3comvax.382 Posted: Thu Jan 23 20:58:22 1986 Date-Received: Sat, 25-Jan-86 08:32:23 EST References: <1069@caip.RUTGERS.EDU> Reply-To: mykes@3comvax.UUCP (Mike Schwartz) Organization: 3Com Corp; Mountain View, CA Lines: 10 Another crude but effective way to make more sense out of the header file nonsense is to change all pointers to structures into ULONGs. This will remain portable (with MANX and lattice). Only those structures that have nested structures in them cannot be fixed this way. In the programs that use particular structures, you should cast the ULONG back into a pointer to the structure of appropriate type. This may sound clumsy, but it will make a lot of 'C' source code generate smaller object code!