We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ca194 commit 19e79dbCopy full SHA for 19e79db
LuaJIT-2.1/src/lj_api.c
@@ -281,7 +281,7 @@ LUALIB_API void luaL_checkany(lua_State *L, int idx)
281
282
if (mt)
283
{
284
- GCstr* str = lj_str_new(L, "MetaName", 8);
+ GCstr* str = lj_str_newlit(L, "MetaName");
285
cTValue* val = lj_tab_getstr(mt, str);
286
lj_str_free(G(L), str);
287
@@ -297,6 +297,7 @@ LUALIB_API void luaL_checkany(lua_State *L, int idx)
297
298
LUA_API const char *lua_typename(lua_State *L, int t, int stackpos)
299
300
+ printf("TypeName call! %p %i %i\n", L, t, stackpos);
301
if (stackpos && t == 7)
302
return GMODLUA_GetUserType(L, stackpos);
303
0 commit comments