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

Function lua_rawseti

other_src/lua/src/lapi.cpp:716–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714
715
716LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
717 StkId o;
718 lua_lock(L);
719 api_checknelems(L, 1);
720 o = index2adr(L, idx);
721 api_check(L, ttistable(o));
722 setobj2t(L, luaH_setnum(L, hvalue(o), n), L->top-1);
723 luaC_barriert(L, hvalue(o), L->top-1);
724 L->top--;
725 lua_unlock(L);
726}
727
728
729LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 15

tinsertFunction · 0.70
tremoveFunction · 0.70
sortFunction · 0.70
luaopen_packageFunction · 0.70
jointableFunction · 0.70
value2fenvFunction · 0.70
capconst_lFunction · 0.70
tablecapFunction · 0.70
g_iofileFunction · 0.70
createstdfileFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70

Calls 2

index2adrFunction · 0.70
luaH_setnumFunction · 0.70

Tested by

no test coverage detected