MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_setfield

Function lua_setfield

third-party/lua-5.5.0/src/lapi.c:902–905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900
901
902LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {
903 lua_lock(L); /* unlock done in 'auxsetstr' */
904 auxsetstr(L, index2value(L, idx), k);
905}
906
907
908LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) {

Callers 15

luaL_openselectedlibsFunction · 0.70
pmainFunction · 0.70
luaopen_baseFunction · 0.70
luaopen_mathFunction · 0.70
createmetatableFunction · 0.70
luaL_newmetatableFunction · 0.70
luaL_setfuncsFunction · 0.70
luaL_getsubtableFunction · 0.70
luaL_requirefFunction · 0.70
luaopen_utf8Function · 0.70
tpackFunction · 0.70
setpathFunction · 0.70

Calls 2

auxsetstrFunction · 0.70
index2valueFunction · 0.70

Tested by

no test coverage detected