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

do not export Context_xxx of master elements #184

Merged
merged 2 commits into from
Mar 2, 2024

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Feb 25, 2024

It can be retrieved with EBML_CLASS_CONTEXT(), no need to specifically export them from DLLs.
Neither mkvtoolnix nor VLC use these, apart from Context_KaxMatroska,
which doesn't have a definition outside of here.

More radical approach than #183

@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 Feb 25, 2024
It gives the same type, but EBML_CLASS_CONTEXT is more generic and doesn't
need the Context_xx to be exported.
It can be retrieved with EBML_CLASS_CONTEXT(), no need to specifically export them
from DLLs.
Neither mkvtoolnix nor VLC use these, apart from Context_KaxMatroska,
which doesn't have a definition outside of here.
@mbunkus mbunkus merged commit cf05973 into Matroska-Org:master Mar 2, 2024
15 checks passed
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants