MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_createtable

Function lua_createtable

app/redis-6.2.6/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.70
base_openFunction · 0.70
createmetatableFunction · 0.70
luaL_findtableFunction · 0.70
ll_seeallFunction · 0.70
luaopen_packageFunction · 0.70
os_dateFunction · 0.70
newfenvFunction · 0.70
db_getinfoFunction · 0.70
gethooktableFunction · 0.70

Calls 1

luaH_newFunction · 0.70

Tested by

no test coverage detected