LuaJIT documentation error (probably typo)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: LuaJIT documentation error (probably typo)
 
- From: Michal Kottman <k0mpjut0r@...>
 
- Date: 2011年2月18日 14:34:09 +0100
 
While reading through the latest LuaJIT2 docs, I noticed the following
in ext_ffi_semantics.html, section "Conversions from C types to Lua
objects":
bool 0 → true, otherwise false
I guess this is a typo (0 should evaluate to false, shouldn't it?),
even the next section (Lua -> C) gives this:
boolean false → 0, true → 1