Skip to content

Initialize pool_id values to -1#886

Merged
ab9rf merged 1 commit into
DFHack:masterfrom
quietust:pool_id
May 14, 2026
Merged

Initialize pool_id values to -1#886
ab9rf merged 1 commit into
DFHack:masterfrom
quietust:pool_id

Conversation

@quietust
Copy link
Copy Markdown
Member

(to avoid potential mishaps with DF's pooled object manager)

Note that this might result in compiler warnings - if it does, we might need to further tweak codegen (e.g. to add type casts around the initializers).

to avoid potential mishaps with DF's pooled object manager
@quietust
Copy link
Copy Markdown
Member Author

If we're lucky, this might fix DFHack/dfhack#5803.

@ab9rf ab9rf merged commit 452f3a0 into DFHack:master May 14, 2026
17 checks passed
ab9rf added a commit that referenced this pull request May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants