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

Use a macro to set the length constraint on binary elements #157

Merged
merged 3 commits into from
Jan 13, 2024

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Jan 13, 2024

The result in the code is the same but it's more readable, less verbose.

Generated with Matroska-Org/foundation-source#137

Requires Matroska-Org/libebml#212

It's not allowed by the specs.

Since Matroska-Org/libebml#176 it's not possible to have a Binary element
set as infinite.
Only binary elements currently have length restrictions. Strings may have it too.
@robUx4 robUx4 added the abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) label Jan 13, 2024
@mbunkus mbunkus merged commit b850b80 into Matroska-Org:master Jan 13, 2024
0 of 15 checks passed
@robUx4 robUx4 deleted the binary_size branch January 14, 2024 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants