cre2 icon indicating copy to clipboard operation
cre2 copied to clipboard

Return all named groups when iterating

Open anuraaga opened this issue 1 year ago • 0 comments

Currently, when the same name is declared multiple times, the iterator will only return one of them. This doesn't seem to be the intent of a named group iterator, so instead we use the int->string map which contains all groups.

This should be a compatible change because the struct cre2_named_groups_iter is not exported.

anuraaga avatar Nov 29 '22 06:11 anuraaga