]> www.ginac.de Git - ginac.git/blob - ginac/version.h
[build] Rewrite ginsh related sed scripts in python.
[ginac.git] / ginac / version.h
1 /** @file version.h
2  *
3  *  GiNaC library version information. */
4
5 /*
6  *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21  */
22
23 #ifndef GINAC_VERSION_H
24 #define GINAC_VERSION_H
25
26 /* Major version of GiNaC */
27 #define GINACLIB_MAJOR_VERSION 1
28
29 /* Minor version of GiNaC */
30 #define GINACLIB_MINOR_VERSION 6
31
32 /* Micro version of GiNaC */
33 #define GINACLIB_MICRO_VERSION 2
34
35 /*
36  * GiNaC archive file version information.
37  *
38  * The current archive version is GINACLIB_ARCHIVE_VERSION. This is
39  * the version of archives created by the current version of GiNaC.
40  * Archives version (GINACLIB_ARCHIVE_VERSION - GINACLIB_ARCHIVE_AGE)
41  * thru * GINACLIB_ARCHIVE_VERSION can be read by current version
42  * of GiNaC.
43  *
44  * Backward compatibility notes:
45  * If new properties have been added:
46  *      GINACLIB_ARCHIVE_VERSION += 1
47  *      GINACLIB_ARCHIVE_AGE += 1
48  * If backwards compatibility has been broken, i.e. some properties
49  * has been removed, or their type and/or meaning changed:
50  *      GINACLIB_ARCHIVE_VERSION += 1
51  *      GINACLIB_ARCHIVE_AGE = 0
52  */
53 #define GINACLIB_ARCHIVE_VERSION 3
54 #define GINACLIB_ARCHIVE_AGE 3
55
56 namespace GiNaC {
57
58 extern const int version_major;
59 extern const int version_minor;
60 extern const int version_micro;
61
62 } // namespace GiNaC
63
64 #endif // ndef GINAC_VERSION_H