[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.4.2 (lua_newstate)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 9 Nov 2020 13:56:56 -0300
> 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.