MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / lua_rawseti

Function lua_rawseti

Source/Misc/lua/src/lua.c:2533–2543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2531
2532
2533LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
2534StkId o;
2535lua_lock(L);
2536api_checknelems(L, 1);
2537o = index2adr(L, idx);
2538api_check(L, ttistable(o));
2539setobj2t(L, luaH_setnum(L, hvalue(o), n), L->top-1);
2540luaC_barriert(L, hvalue(o), L->top-1);
2541L->top--;
2542lua_unlock(L);
2543}
2544
2545
2546LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 15

luausb_push_interfaceFunction · 0.85
luausb_push_deviceFunction · 0.85
luausb_push_transferFunction · 0.85
usb.cFile · 0.85
push_instance_metatableFunction · 0.85
implMethod · 0.85
applyMethod · 0.85

Calls 2

index2adrFunction · 0.85
luaH_setnumFunction · 0.85

Tested by

no test coverage detected