lua-users home
lua-l archive

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

> Change 0 by NULL

NULL may not fit into a byte.
NULL and 0 in a pointer context are special values that are converted
to whatever representation is used for NULL pointers. The C programmer
has no control about it. The only way would be to declare a pointer
variable and set it to NULL and them copy from that, hardly worth the
trouble and hardly any clearer. The mt array is quite small.