Skip to content

Conversation

@ab9rf
Copy link
Member

@ab9rf ab9rf commented Jun 6, 2024

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

ab9rf added 2 commits June 6, 2024 08:02
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
missed this, it was supposed to have been moved back but i forgot
@myk002 myk002 merged commit 9d21275 into DFHack:develop Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants