lua-users home
lua-l archive

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

2011/5/25 Matthias Kluwe <>:
> Hi!
> 2011/5/24 Dirk Laurie <>:
>> Sorry for betraying my newbie-ness, this question was probably asked
>> fifteen years ago.
>> In the Lua API, Lua strings are mapped to C "char*".  Is this just a
>> historical accident or a closely reasoned decision, such as that the
>> convenience of the test "if (c<0)" to detect non-ASCII [...]
> Don't assume that char is signed... That is platform and compiler specific.

Oops, just noticed Rob already mentioned this point. Apologies for the noise.