@@ -1077,7 +1077,7 @@ bool DFHack::Lua::Require(color_ostream &out, lua_State *state,
10771077}
10781078
10791079static bool doAssignDFObject (color_ostream *out, lua_State *state,
1080- type_identity *type, void *target, int val_index,
1080+ const type_identity *type, void *target, int val_index,
10811081 bool exact, bool perr, bool signal)
10821082{
10831083 if (signal)
@@ -1124,13 +1124,13 @@ static bool doAssignDFObject(color_ostream *out, lua_State *state,
11241124}
11251125
11261126bool DFHack::Lua::AssignDFObject (color_ostream &out, lua_State *state,
1127- type_identity *type, void *target, int val_index,
1127+ const type_identity *type, void *target, int val_index,
11281128 bool exact_type, bool perr)
11291129{
11301130 return doAssignDFObject (&out, state, type, target, val_index, exact_type, perr, false );
11311131}
11321132
1133- void DFHack::Lua::CheckDFAssign (lua_State *state, type_identity *type,
1133+ void DFHack::Lua::CheckDFAssign (lua_State *state, const type_identity *type,
11341134 void *target, int val_index, bool exact_type)
11351135{
11361136 doAssignDFObject (NULL , state, type, target, val_index, exact_type, false , true );
0 commit comments