MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_rawseti

Function lua_rawseti

lua/lapi.c:691–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689
690
691LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
692 StkId o;
693 lua_lock(L);
694 api_checknelems(L, 1);
695 o = index2adr(L, idx);
696 api_check(L, ttistable(o));
697 setobj2t(L, luaH_setnum(L, hvalue(o), n), L->top-1);
698 luaC_barriert(L, hvalue(o), L->top-1);
699 L->top--;
700 lua_unlock(L);
701}
702
703
704LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 15

getargsFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
db_csv_to_tableFunction · 0.85
cson_to_tableFunction · 0.85
cson_to_table_annotatedFunction · 0.85
push_blob_arrayFunction · 0.85
push_string_arrayFunction · 0.85
push_i32_arrayFunction · 0.85
push_i64_arrayFunction · 0.85
push_real_arrayFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaH_setnumFunction · 0.85

Tested by

no test coverage detected