lua-users home
lua-l archive

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


> The entire point was not to treat nil and none as the same?

BTW, the idiom for that is to call lua_settop(L,n) at the very start,
for functions that require n arguments. This discards extra arguments
and make sure that absent ones are replaced by nil.