[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.2 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 19 Nov 2015 11:20:25 -0200
> Also there are a lot of superfluous `sizeof(char)`s in the code.
We always use 'sizeof(char)' as a kind of documentation. If someone
crazy enough decides to change strings in Lua to wchar_t, these sizeofs
would help. (Similarly, we always use '\0' instead of 0 when talking
about string sentinels, and always use the type lu_byte for chars which
are not characters.)
-- Roberto