MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / lua_rawgeti

Function lua_rawgeti

examples/ThirdPartyLibs/lua-5.2.3/src/lapi.c:690–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690LUA_API void lua_rawgeti(lua_State *L, int idx, int n)
691{
692 StkId t;
693 lua_lock(L);
694 t = index2addr(L, idx);
695 api_check(L, ttistable(t), "table expected");
696 setobj2s(L, L->top, luaH_getint(hvalue(t), n));
697 api_incr_top(L);
698 lua_unlock(L);
699}
700
701LUA_API void lua_rawgetp(lua_State *L, int idx, const void *p)
702{

Callers 12

ipairsauxFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
tinsertFunction · 0.85
tremoveFunction · 0.85
addfieldFunction · 0.85
unpackFunction · 0.85
auxsortFunction · 0.85
gctmFunction · 0.85
findloaderFunction · 0.85
getLuaVectorArgFunction · 0.85
getLuaQuaternionArgFunction · 0.85

Calls 2

index2addrFunction · 0.85
luaH_getintFunction · 0.85

Tested by

no test coverage detected