MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / lua_createtable

Function lua_createtable

Source/ThirdParty/luaJIT/src/lj_api.c:650–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650LUA_API void lua_createtable(lua_State *L, int narray, int nrec)
651{
652 GCtab *t;
653 lj_gc_check(L);
654 t = lj_tab_new(L, (uint32_t)(narray > 0 ? narray+1 : 0), hsize2hbits(nrec));
655 settabV(L, L->top, t);
656 incr_top(L);
657}
658
659LUALIB_API int luaL_newmetatable(lua_State *L, const char *tname)
660{

Callers 8

lib_debug.cFile · 0.70
getargsFunction · 0.70
lib_jit.cFile · 0.70
luaL_findtableFunction · 0.70
lib_os.cFile · 0.70
lj_cf_package_seeallFunction · 0.70
luaopen_packageFunction · 0.70
lib_create_tableFunction · 0.70

Calls 1

lj_tab_newFunction · 0.85

Tested by

no test coverage detected