Revision Release 2024.3703 Keywords iOS, Solar2D Native, C, CoronaLua.h, CoronaLuaCheckUserdata See also CoronaLua.h Corona C Functions
Same as CoronaLuaToUserdata() except that this returns NULL
if the userdata at index
doesn’t have a metatable that matches metatableName
.
void* CoronaLuaCheckUserdata( lua_State* L, int index, const char metatableName[] )