Skip to content

ios: map reported format variants - #1145

Merged
axxel merged 1 commit into
zxing-cpp:masterfrom
alexmanzer:ios-map-format-variants
Jul 31, 2026
Merged

ios: map reported format variants#1145
axxel merged 1 commit into
zxing-cpp:masterfrom
alexmanzer:ios-map-format-variants

Conversation

@alexmanzer

Copy link
Copy Markdown
Contributor

Normalizes the four variants onto the symbology values that already exist, the same way Telepen, TelepenAlpha and TelepenNumeric are already folded into TELEPEN. No new enumerators, so no raw values shift.

-Wswitch drops from 22 to 18 unhandled enumerators. The remaining ones are pseudo-formats and variants that only ever appear in hasFormat() checks.

fixes #1144

Code39Ext, Code32, PZN and DataBarOmni are reported by the readers but had
no ZXIFormat counterpart, so they arrived as NONE. Folded into their
symbology value, the way the Telepen variants already are.
@axxel
axxel merged commit c7117a5 into zxing-cpp:master Jul 31, 2026
22 checks passed
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.

iOS: further formats reported by the core have no ZXIFormat mapping

2 participants