MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_setfield

Function lua_setfield

extlibs/lua/src/lapi.c:829–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827
828
829LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {
830 lua_lock(L); /* unlock done in 'auxsetstr' */
831 auxsetstr(L, index2value(L, idx), k);
832}
833
834
835LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) {

Callers 15

pmainFunction · 0.85
luaopen_baseFunction · 0.85
luaopen_mathFunction · 0.85
createmetatableFunction · 0.85
luaL_newmetatableFunction · 0.85
luaL_setfuncsFunction · 0.85
luaL_getsubtableFunction · 0.85
luaL_requirefFunction · 0.85
luaopen_utf8Function · 0.85
tpackFunction · 0.85
setpathFunction · 0.85
addtoclibFunction · 0.85

Calls 2

auxsetstrFunction · 0.85
index2valueFunction · 0.85

Tested by

no test coverage detected