Skip to content

Commit

Permalink
bring back EBML_CLASS_CONTEXT
Browse files Browse the repository at this point in the history
It's used by libmatroska test and even VLC.
  • Loading branch information
robUx4 committed Dec 18, 2023
1 parent ca27cb0 commit 2785a08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ebml/EbmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ extern const EbmlSemanticContext Context_EbmlGlobal;
#define EBML_INFO(ref) ref::ClassInfo()
#define EBML_ID(ref) ref::ClassId()
#define EBML_CLASS_SEMCONTEXT(ref) Context_##ref
#define EBML_CLASS_CONTEXT(ref) ref::ClassInfo().GetContext()
#define EBML_CONTEXT(e) (e)->Context()
#define EBML_NAME(e) (e)->DebugName()

Expand Down

0 comments on commit 2785a08

Please sign in to comment.