Re: Idea. Removing nils from the language.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Idea. Removing nils from the language.
- From: Erik Hougaard <erik@...>
- Date: 2015年1月09日 15:26:54 -0800
On 09-01-2015 15:04, Kevin Clancy wrote:
If that's the definition of nil, then what is the definition of null?
They seem like the same thing to me.
NULL is just a macro to either 0 or (void*)0 depending on your flavor of C
define NULL (0L)
or
#define NULL (void*)0
/Erik