lua-users home
lua-l archive

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




On Monday, April 20, 2015, Dirk Laurie <dirk.laurie@gmail.com> wrote:
2015-04-20 15:24 GMT+02:00 Robert Virding <rvirding@gmail.com>:

> Where does 'none' come from? I cannot find any mention of it in the 5.2
> manual.

It seems to be deduced from C API function names like 'lua_isnone'.

I'm not sure about this, but I think it is correct to say that in the C API, none is off of the end of the stack, which is distinct from the sentinel value, which represents nil and is treated identically to false, except for equality.