Commit Graph

22 Commits

Author SHA1 Message Date
Steve Lhomme
baa61c54cb factorize some common macros
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@26 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:30:26 +00:00
Steve Lhomme
cd5d717fb9 move some of the <cassert> includes and assert() calls out of the include files
+ the DefaultValue() methods return const objects

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@25 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:29:32 +00:00
Steve Lhomme
8b4a54c88f if USE_EBML_STRICT_API is defined in the project EBML_STRICT_API is defined internally and externally
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@24 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:27:15 +00:00
Steve Lhomme
71367a12c9 new macros to hide the internal variables of the context classes
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@23 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:26:39 +00:00
Steve Lhomme
d9dd385f9f macro moving
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@22 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:25:15 +00:00
Steve Lhomme
1b66de687a fix a recursive call issue
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@21 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-17 10:24:35 +00:00
Steve Lhomme
66f1b56fba disable access to internal values when EBML_STRICT_API is defined
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@20 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:21:50 +00:00
Steve Lhomme
c331b9b443 use the new CreateElement() virtual method instead than doing it through the Generic() call
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@19 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:20:08 +00:00
Steve Lhomme
995bc139c4 update the copyright notice to 2010
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@18 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:19:18 +00:00
Steve Lhomme
4bea9a04da fix a double implementation
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@17 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:12:06 +00:00
Steve Lhomme
89abd52a34 add a macro to define all the pure virtual methods in a "concrete" EBML class (that correspond to an item in EBML streams)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@16 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:11:24 +00:00
Steve Lhomme
de3185abde add macros to access the EbmlId internal variables
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@15 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:08:31 +00:00
Steve Lhomme
cd378f23ff add some macros to access the EBML ID/Context and use them
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@14 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:07:14 +00:00
Steve Lhomme
9122d30f15 use the new accessors internally
+ make the new accessors inline

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@13 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:03:51 +00:00
Steve Lhomme
289a1c2e86 the EbmlBinary GetSize() is the same as the parent class (EbmlElement) one
+ add an internal Accessor API

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@12 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 16:00:29 +00:00
Steve Lhomme
eea805cb01 add accessor APIs
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@11 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:59:48 +00:00
Steve Lhomme
eeb3b1d104 more moving and cleaning
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@10 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:58:55 +00:00
Steve Lhomme
377e111038 reordering and misc cleaning
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@9 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:58:12 +00:00
Steve Lhomme
02bd471dcf cast to EbmlId instead of accessing Generic() GlobalId directly
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@8 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:57:04 +00:00
Steve Lhomme
56aecb45f7 integer and boolean variables don't need a const when used as parameters
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@6 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:55:14 +00:00
Steve Lhomme
05037aebad fix the coremake project for inclusion in other projects
use HAVE_EBML2 in the config.h file to use libebml2 instead of libebml

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@5 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-03-15 15:53:28 +00:00
Steve Lhomme
0a891b23be move the sources from the dead coreforge server
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@1 a6f86f6d-0131-4f8e-9e7b-e335508773d5
2010-02-18 08:13:06 +00:00