lua-users home
lua-l archive

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


> The luaL_check and luaL_opt functions are really useful.  Why isn't there
> luaL_checkboolean and luaL_optboolean?

Very few functions enforce truly boolean arguments. And an optional
boolean parameter may be read just as if it was there (assuming the
default is false).

-- Roberto