Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!bu.edu!inmet!rgh From: rgh@inmet.inmet.com Newsgroups: comp.lang.c Subject: Re: Explicit cast of NULL (was Re: Shor Message-ID: <20900007@inmet> Date: 5 Jul 90 15:46:00 GMT References: <807@mwtech.UUCP> Lines: 16 Nf-ID: #R:mwtech.UUCP:807:inmet:20900007:000:232 Nf-From: inmet.inmet.com!rgh Jul 5 11:46:00 1990 You can have typed null pointers without having to declare a macro for each one: #define NIL(type) ((type)0) It's a matter of taste whether NIL(char *) looks better than ((char*)0) Randy Hudson rgh@inmet.inmet.com