MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / lua_createtable

Function lua_createtable

deps/lua/src/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 10

getargsFunction · 0.85
base_openFunction · 0.85
createmetatableFunction · 0.85
luaL_findtableFunction · 0.85
ll_seeallFunction · 0.85
luaopen_packageFunction · 0.85
os_dateFunction · 0.85
newfenvFunction · 0.85
db_getinfoFunction · 0.85
gethooktableFunction · 0.85

Calls 1

luaH_newFunction · 0.85

Tested by

no test coverage detected