MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_rawseti

Function lua_rawseti

lib/lua/src/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 10

createargtableFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
addtoclibFunction · 0.85
createsearcherstableFunction · 0.85
jsonArrayToLuaFunction · 0.85
luaApiCallListFunction · 0.85
probeParseFunctionMethod · 0.85
parseBinaryMethod · 0.85
luaStringSplitFunction · 0.85

Calls 2

gettableFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected