3 * GiNaC library version information. */
6 * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
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.
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.
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
23 #ifndef GINAC_VERSION_H
24 #define GINAC_VERSION_H
26 /* Major version of GiNaC */
27 #define GINACLIB_MAJOR_VERSION 1
29 /* Minor version of GiNaC */
30 #define GINACLIB_MINOR_VERSION 6
32 /* Micro version of GiNaC */
33 #define GINACLIB_MICRO_VERSION 2
36 * GiNaC archive file version information.
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
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
53 #define GINACLIB_ARCHIVE_VERSION 3
54 #define GINACLIB_ARCHIVE_AGE 3
58 extern const int version_major;
59 extern const int version_minor;
60 extern const int version_micro;
64 #endif // ndef GINAC_VERSION_H