luaL_testudata
[-0, +0, m]
void *luaL_testudata (lua_State *L, int arg, const char *tname);
This function works like luaL_checkudata
, except that, when the test fails, it returns NULL
instead of raising an error.
luaL_testudata
[-0, +0, m]
void *luaL_testudata (lua_State *L, int arg, const char *tname);
This function works like luaL_checkudata
, except that, when the test fails, it returns NULL
instead of raising an error.
Please login to continue.