Re: Minor nit about usage of sizeof(char)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Minor nit about usage of sizeof(char)
- From: roberto@... (Roberto Ierusalimschy)
- Date: Fri, 9 Nov 2007 09:37:47 -0200
> This appears a few times in Lua sources.
> But its per definition 1.
This is a leftover from when we tried to easy the task of changing
the type of primitive strings in Lua. Currently it is a kind of
documentation, just like we use '0円' instead of 0 when referring to
the end-of-string mark.
-- Roberto