MCPcopy Create free account
hub / github.com/defold/defold / lua_createtable

Function lua_createtable

engine/lua/src/lua/lapi.c:578–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576
577
578LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
579 lua_lock(L);
580 luaC_checkGC(L);
581 sethvalue(L, L->top, luaH_new(L, narray, nrec));
582 api_incr_top(L);
583 lua_unlock(L);
584}
585
586
587LUA_API int lua_getmetatable (lua_State *L, int objindex) {

Callers 15

CompScriptOnInputFunction · 0.85
Resource_GetMountsFunction · 0.85
Sys_GetIfaddrsFunction · 0.85
BacktraceErrorHandlerFunction · 0.85
DDFToLuaValueFunction · 0.85
PushDDFNoDecoderFunction · 0.85
Graphics_GetAdapterInfoFunction · 0.85
RunScriptFunction · 0.85
PushTextMetricsFunction · 0.85
LuaCloneTreeFunction · 0.85
LuaGetTreeFunction · 0.85

Calls 1

luaH_newFunction · 0.85

Tested by

no test coverage detected