DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.84k stars 463 forks source link

`vector<int32_t>` and `vector<int16_t>` #4676

Closed ab9rf closed 3 weeks ago

ab9rf commented 3 weeks ago

this makes identity traits for these two specializations available in plugins

with this change, the stl_vector_identity template will be visible to plugins, but the identity objects themselves will not (except for vector<int32_t> and vector<int16_t>) so any attempt to actually use a vector other than one of these two types or of a pointer type (which is covered elsewhere by the vector<T*> specialization which is exported) will result in linkage errors

this is mainly intended to enable merging #4632 without #4591, since i don't think i want to pursue #4591 at this time