MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_setfield

Function lua_setfield

depends/lua/src/lapi.c:777–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775
776
777LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {
778 lua_lock(L); /* unlock done in 'auxsetstr' */
779 auxsetstr(L, index2addr(L, idx), k);
780}
781
782
783LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) {

Callers 15

PushMethod · 0.85
PushInterfaceKeysMethod · 0.85
convert_to_exceptionFunction · 0.85
dfhack_errorFunction · 0.85
RequireMethod · 0.85
do_invoke_cleanupFunction · 0.85
OpenMethod · 0.85
InitCoreContextMethod · 0.85
AddMethodWrapperFunction · 0.85
IndexFieldsFunction · 0.85
PushFieldInfoSubTableFunction · 0.85
AddFieldInfoTableFunction · 0.85

Calls 2

auxsetstrFunction · 0.85
index2addrFunction · 0.85

Tested by

no test coverage detected