MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_rawgeti

Function lua_rawgeti

other_src/lua/src/lapi.cpp:599–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597
598
599LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {
600 StkId o;
601 lua_lock(L);
602 o = index2adr(L, idx);
603 api_check(L, ttistable(o));
604 setobj2s(L, L->top, luaH_getnum(hvalue(o), n));
605 api_incr_top(L);
606 lua_unlock(L);
607}
608
609
610LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {

Callers 15

foreachiFunction · 0.70
tinsertFunction · 0.70
tremoveFunction · 0.70
addfieldFunction · 0.70
sortFunction · 0.70
ll_requireFunction · 0.70
getpositionFunction · 0.70
matchFunction · 0.70
jointableFunction · 0.70
printpat_lFunction · 0.70
io_closeFunction · 0.70
getiofileFunction · 0.70

Calls 2

index2adrFunction · 0.70
luaH_getnumFunction · 0.70

Tested by

no test coverage detected