lua-users home
lua-l archive

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


>I would check lua_type, instead of lua_isnil, just for safety.

Or use lua_isfunction (or lua_iscfunction, if you need to identify C functions).
--lhf