lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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