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

Function lua_rawgeti

lua/lapi.c:574–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572
573
574LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {
575 StkId o;
576 lua_lock(L);
577 o = index2adr(L, idx);
578 api_check(L, ttistable(o));
579 setobj2s(L, L->top, luaH_getnum(hvalue(o), n));
580 api_incr_top(L);
581 lua_unlock(L);
582}
583
584
585LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {

Callers 15

ipairsauxFunction · 0.85
luaB_unpackFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
create_temp_tableFunction · 0.85
luabb_carray_bind_realFunction · 0.85
luabb_carray_bind_stringFunction · 0.85
luabb_carray_bind_blobFunction · 0.85
luabb_carray_bindFunction · 0.85
db_csv_to_tableFunction · 0.85
table_to_cson_arrayFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_getnumFunction · 0.85

Tested by

no test coverage detected