MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_rawseti

Function lua_rawseti

3rdparty/lua/plainlua/lapi.c:921–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919
920
921LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) {
922 Table *t;
923 lua_lock(L);
924 api_checknelems(L, 1);
925 t = gettable(L, idx);
926 luaH_setint(L, t, n, s2v(L->top.p - 1));
927 luaC_barrierback(L, obj2gco(t), s2v(L->top.p - 1));
928 L->top.p--;
929 lua_unlock(L);
930}
931
932
933LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 15

setMethod · 0.85
raw_table_setFunction · 0.85
json_parse_array_contextFunction · 0.85
createargtableFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
addtoclibFunction · 0.85
createsearcherstableFunction · 0.85
handleTouchesEventMethod · 0.85
addLuaLoaderMethod · 0.85
pushLuaValueArrayMethod · 0.85
vec2_newindexFunction · 0.85

Calls 2

gettableFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected