Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
622
LUA_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
628
LUA_API int lua_geti (lua_State *L, int idx, lua_Integer n) {
Callers
15
init_run_script
Function · 0.85
init_enable_script
Function · 0.85
convert_to_exception
Function · 0.85
dfhack_exception_tostring
Function · 0.85
doAssignDFObject
Function · 0.85
init_interpreter
Function · 0.85
Open
Method · 0.85
invoke_assign
Function · 0.85
autovivify_ptr
Function · 0.85
write_field
Function · 0.85
meta_union_next
Function · 0.85
IndexFields
Function · 0.85
Calls
2
auxgetstr
Function · 0.85
index2addr
Function · 0.85
Tested by
no test coverage detected