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

Method CheckDFAssign

library/LuaTools.cpp:1133–1137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131}
1132
1133void DFHack::Lua::CheckDFAssign(lua_State *state, const type_identity *type,
1134 void *target, int val_index, bool exact_type)
1135{
1136 doAssignDFObject(NULL, state, type, target, val_index, exact_type, false, true);
1137}
1138
1139bool DFHack::Lua::SafeCallString(color_ostream &out, lua_State *state, const std::string &code,
1140 int nargs, int nres, bool perr,

Callers

nothing calls this directly

Calls 1

doAssignDFObjectFunction · 0.85

Tested by

no test coverage detected