From a3b38682cdd489a5081071a593b671ef2dccc9b8 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sat, 24 Feb 2024 09:40:19 +0100 Subject: [PATCH] add EBML_INFO_CONTEXT / EBML_SEM_SPECS macros --- ebml/EbmlElement.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ebml/EbmlElement.h b/ebml/EbmlElement.h index c2a98691..8ab90e52 100644 --- a/ebml/EbmlElement.h +++ b/ebml/EbmlElement.h @@ -250,7 +250,9 @@ class DllApi x : public BaseClass { \ #define EBML_INFO_ID(cb) (cb).ClassId() #define EBML_INFO_NAME(cb) (cb).GetName() #define EBML_INFO_CREATE(cb) (cb).NewElement() +#define EBML_INFO_CONTEXT(cb) (cb).GetContext() +#define EBML_SEM_SPECS(s) (s).GetCallbacks() #define EBML_SEM_CONTEXT(s) ((const libebml::EbmlCallbacks &)(s)).GetContext() #define EBML_SEM_CREATE(s) (s).Create()