lua-users home
lua-l archive

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


> 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