Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector<int32_t> and vector<int16_t> #4676

Merged
merged 2 commits into from
Jun 6, 2024
Merged

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
14 checks passed
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