lua-users home
lua-l archive

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


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