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

Make more variables const so we have more constexpr constructors #157

Merged
merged 13 commits into from
Dec 18, 2023

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Dec 18, 2023

The API is designed to set the values on creation and not touch them again.

Also change some integer constants so they are more readable.

The EbmlSemanticContext cannot be a constexpr (for now?) because it's exported as extern const.

The callback should not be modifiable once the instance is created.
They must not be modified after the instance creation.
They must not be modified after the instance creation.
They must not be modified after the instance creation.
@robUx4 robUx4 added api-break breaks the API (e.g. programs using it will have to adjust their source code) abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) labels Dec 18, 2023
@robUx4 robUx4 merged commit 2815a34 into Matroska-Org:master Dec 18, 2023
20 checks passed
@robUx4 robUx4 deleted the const_clean branch December 18, 2023 11:37
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) api-break breaks the API (e.g. programs using it will have to adjust their source code) enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants