diff --git a/ebml/EbmlMaster.h b/ebml/EbmlMaster.h index 64efda24..18084341 100644 --- a/ebml/EbmlMaster.h +++ b/ebml/EbmlMaster.h @@ -156,6 +156,11 @@ static inline constexpr const EbmlSemanticContextMaster & tEBML_CONTEXT(const Eb return e->ContextMaster(); } +static inline constexpr const EbmlSemanticContextMaster & tEBML_INFO_CONTEXT(const EbmlCallbacksMaster & cb) +{ + return cb.GetContextMaster(); +} + ///< \todo add a restriction to only elements legal in the context template Type & GetChild(EbmlMaster & Master)