X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fversion.h;h=030b596f69c42c7b9e461dca7b4b6d0190376412;hp=b79b9fb5ae7cc035c7fa22a322d83f6af7224d9b;hb=eded9cd9d5df793c1ea5a1f766eff261ded46bde;hpb=e0f0681b814fecff5523d21b4368ebbeecc330eb diff --git a/ginac/version.h b/ginac/version.h index b79b9fb5..030b596f 100644 --- a/ginac/version.h +++ b/ginac/version.h @@ -32,6 +32,27 @@ /* Micro version of GiNaC */ #define GINACLIB_MICRO_VERSION 2 +/* + * GiNaC archive file version information. + * + * The current archive version is GINACLIB_ARCHIVE_VERSION. This is + * the version of archives created by the current version of GiNaC. + * Archives version (GINACLIB_ARCHIVE_VERSION - GINACLIB_ARCHIVE_AGE) + * thru * GINACLIB_ARCHIVE_VERSION can be read by current version + * of GiNaC. + * + * Backward compatibility notes: + * If new properties have been added: + * GINACLIB_ARCHIVE_VERSION += 1 + * GINACLIB_ARCHIVE_AGE += 1 + * If backwards compatibility has been broken, i.e. some properties + * has been removed, or their type and/or meaning changed: + * GINACLIB_ARCHIVE_VERSION += 1 + * GINACLIB_ARCHIVE_AGE = 0 + */ +#define GINACLIB_ARCHIVE_VERSION 3 +#define GINACLIB_ARCHIVE_AGE 3 + namespace GiNaC { extern const int version_major;