Re: using literal zero for NULL
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: "Alan M. Evans" <ame1 extratech com>
- Cc: gtk-devel-list gnome org
- Subject: Re: using literal zero for NULL
- Date: Wed, 22 Mar 2006 11:00:10 -0500 (EST)
On Wed, 22 Mar 2006, Alan M. Evans wrote:
> In fact, an unadorned zero works perfectly well in all cases except
> unprototyped function parameters. (This thread started with the error of
> passing zero in varargs, which are technically unprototyped even when
> the function is prototyped.)
To reword: In fact zero works in all valid cases except for those
valid cases that it doesn't.
Thanks :).
Ok, lets end this thread and get back to work.
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]