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

Function lua_rawget

other_src/lua/src/lapi.cpp:589–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587
588
589LUA_API void lua_rawget (lua_State *L, int idx) {
590 StkId t;
591 lua_lock(L);
592 t = index2adr(L, idx);
593 api_check(L, ttistable(t));
594 setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1));
595 lua_unlock(L);
596}
597
598
599LUA_API void lua_rawgeti (lua_State *L, int idx, int n) {

Callers 15

luaL_getmetafieldFunction · 0.70
luaL_setnFunction · 0.70
luaL_getnFunction · 0.70
luaL_findtableFunction · 0.70
hookfFunction · 0.70
gethooktableFunction · 0.70
db_gethookFunction · 0.70
luaB_rawgetFunction · 0.70
luaB_newproxyFunction · 0.70
MetaIndexMethod · 0.50
PushLibMethod · 0.50
AddCallInErrorFunction · 0.50

Calls 2

index2adrFunction · 0.70
luaH_getFunction · 0.70

Tested by

no test coverage detected