Skip to content

Commit

Permalink
add EBML_INFO_CONTEXT / EBML_SEM_SPECS macros
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Feb 24, 2024
1 parent 8c4239d commit a3b3868
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ebml/EbmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a3b3868

Please sign in to comment.