MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_createtable

Function lua_createtable

Dependencies/lua/src/lapi.c:762–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760
761
762LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
763 Table *t;
764 lua_lock(L);
765 t = luaH_new(L);
766 sethvalue2s(L, L->top.p, t);
767 api_incr_top(L);
768 if (narray > 0 || nrec > 0)
769 luaH_resize(L, t, narray, nrec);
770 luaC_checkGC(L);
771 lua_unlock(L);
772}
773
774
775LUA_API int lua_getmetatable (lua_State *L, int objindex) {

Callers 14

createMethod · 0.85
set_undefined_methods_onFunction · 0.85
pushMethod · 0.85
pushMethod · 0.85
handle_policyFunction · 0.85
register_usertypeFunction · 0.85
listkFunction · 0.85
listabslineinfoFunction · 0.85
get_limitsFunction · 0.85
luaL_newmetatableFunction · 0.85
tpackFunction · 0.85
createsearcherstableFunction · 0.85

Calls 2

luaH_newFunction · 0.85
luaH_resizeFunction · 0.85

Tested by 3

listkFunction · 0.68
listabslineinfoFunction · 0.68
get_limitsFunction · 0.68