From 2785a08bbe41466150570257f94fbbcb90c691cb Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 18 Dec 2023 11:08:37 +0100 Subject: [PATCH] bring back EBML_CLASS_CONTEXT It's used by libmatroska test and even VLC. --- ebml/EbmlElement.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ebml/EbmlElement.h b/ebml/EbmlElement.h index 145e73eb..5e6f51f4 100644 --- a/ebml/EbmlElement.h +++ b/ebml/EbmlElement.h @@ -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()