MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_newuserdata

Function lua_newuserdata

emmy_debugger/src/api/lua_api_loader.cpp:364–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void* lua_newuserdata(lua_State* L, int size)
365{
366 if (luaVersion == LuaVersion::LUA_51 || luaVersion == LuaVersion::LUA_52 || luaVersion == LuaVersion::LUA_53 || luaVersion == LuaVersion::LUA_JIT)
367 {
368 return e_lua_newuserdata(L, size);
369 }
370 else
371 {
372 return e_lua_newuserdatauv(L, size, 1);
373 }
374}
375
376void lua_pushglobaltable(lua_State* L)
377{

Callers 2

handleStateCloseFunction · 0.50
pushVariableFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected