Skip to content

Commit

Permalink
add an EbmlCallbacksMaster variant of tEBML_INFO_CONTEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Mar 3, 2024
1 parent 67172e5 commit ceba125
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ebml/EbmlMaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typename Type>
Type & GetChild(EbmlMaster & Master)
Expand Down

0 comments on commit ceba125

Please sign in to comment.