Compilation fix: If EBML_STRICT_API is not defined the EbmlElement does not contain a function called ClassInfo() but only the member variable ClassInfos.

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@103 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Moritz Bunkus 2010-04-09 19:16:28 +00:00
parent 04478cdbfd
commit d223e36d3c

View File

@ -217,7 +217,7 @@ extern const EbmlSemanticContext Context_EbmlGlobal;
#define EBML_ID(ref) ref::ClassInfos.GlobalId
#define EBML_CLASS_SEMCONTEXT(ref) Context_##ref
#define EBML_CLASS_CONTEXT(ref) ref::ClassInfos.Context
#define EBML_CLASS_CALLBACK(ref) ref::ClassInfo
#define EBML_CLASS_CALLBACK(ref) ref::ClassInfos
#define EBML_CONTEXT(e) (e)->Generic().Context
#define EBML_NAME(e) (e)->Generic().DebugName