MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_rawgeti

Function lua_rawgeti

Source/Misc/lua/src/lua.c:2416–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2414
2415
2416LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {
2417StkId o;
2418lua_lock(L);
2419o = index2adr(L, idx);
2420api_check(L, ttistable(o));
2421setobj2s(L, L->top, luaH_getnum(hvalue(o), n));
2422api_incr_top(L);
2423lua_unlock(L);
2424}
2425
2426
2427LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {

Callers 15

shared_initMethod · 0.85
get_instanceFunction · 0.85
push_new_instanceFunction · 0.85
getMethod · 0.85
pushMethod · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
ipairsauxFunction · 0.85
luaB_unpackFunction · 0.85
io_closeFunction · 0.85
getiofileFunction · 0.85
g_iofileFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_getnumFunction · 0.85

Tested by

no test coverage detected