add EBML_CLASS_SEMCONTEXT() for a more generic way to describe a global context callback
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@88 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
parent
9ced122b2f
commit
a2d9c1e0d6
@ -179,9 +179,10 @@ extern const EbmlSemanticContext Context_EbmlGlobal;
|
||||
static const EbmlCallbacks ClassInfos; \
|
||||
|
||||
|
||||
#define EBML_INFO(ref) ref::ClassInfo()
|
||||
#define EBML_ID(ref) ref::ClassId()
|
||||
#define EBML_CLASS_CONTEXT(ref) ref::ClassInfo().GetContext()
|
||||
#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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user