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

Function lua_getfield

depends/lua/src/lapi.c:622–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620
621
622LUA_API int lua_getfield (lua_State *L, int idx, const char *k) {
623 lua_lock(L);
624 return auxgetstr(L, index2addr(L, idx), k);
625}
626
627
628LUA_API int lua_geti (lua_State *L, int idx, lua_Integer n) {

Callers 15

init_run_scriptFunction · 0.85
init_enable_scriptFunction · 0.85
convert_to_exceptionFunction · 0.85
doAssignDFObjectFunction · 0.85
init_interpreterFunction · 0.85
OpenMethod · 0.85
invoke_assignFunction · 0.85
autovivify_ptrFunction · 0.85
write_fieldFunction · 0.85
meta_union_nextFunction · 0.85
IndexFieldsFunction · 0.85

Calls 2

auxgetstrFunction · 0.85
index2addrFunction · 0.85

Tested by

no test coverage detected