MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_createtable

Function lua_createtable

lua/lapi.c:585–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583
584
585LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
586 lua_lock(L);
587 luaC_checkGC(L);
588 sethvalue(L, L->top, luaH_new(L, narray, nrec));
589 api_incr_top(L);
590 lua_unlock(L);
591}
592
593
594LUA_API int lua_getmetatable (lua_State *L, int objindex) {

Callers 15

getargsFunction · 0.85
base_openFunction · 0.85
createmetatableFunction · 0.85
luaL_findtableFunction · 0.85
enable_global_variablesFunction · 0.85
disable_global_variablesFunction · 0.85
db_clusterFunction · 0.85
db_comdbg_tablesFunction · 0.85
db_comdb_analyzeFunction · 0.85
db_sendFunction · 0.85
ll_seeallFunction · 0.85

Calls 1

luaH_newFunction · 0.85

Tested by

no test coverage detected