]> www.ginac.de Git - ginac.git/blobdiff - ginac/version.h
Merge branch 'c++11' in preparation for version 1.7.0.
[ginac.git] / ginac / version.h
index 018d4615374978d2b751359b95f543afcbb01508..8a62970d6a4d8a346ebf1c85b7c2011def81616b 100644 (file)
@@ -3,7 +3,7 @@
  *  GiNaC library version information. */
 
 /*
- *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
 #define GINACLIB_MAJOR_VERSION 1
 
 /* Minor version of GiNaC */
-#define GINACLIB_MINOR_VERSION 6
+#define GINACLIB_MINOR_VERSION 7
 
 /* Micro version of GiNaC */
-#define GINACLIB_MICRO_VERSION 2
+#define GINACLIB_MICRO_VERSION 0
 
 // GiNaC library version information. It has very little to do with GiNaC
 // version number. In particular, library version is OS dependent. 
@@ -49,9 +49,9 @@
 // increasing. This doesn't matter, though: there is not incurred cost
 // for numbers that are omitted, except for shrinking the available space
 // of leftover numbers. Not something we need to worry about yet. ;-)
-#define GINAC_LT_CURRENT  3
+#define GINAC_LT_CURRENT  6
 #define GINAC_LT_REVISION 0
-#define GINAC_LT_AGE      1
+#define GINAC_LT_AGE      0
 
 /*
  * GiNaC archive file version information.
 #define GINACLIB_ARCHIVE_VERSION 3
 #define GINACLIB_ARCHIVE_AGE 3
 
+#define GINACLIB_STR_HELPER(x) #x
+#define GINACLIB_STR(x) GINACLIB_STR_HELPER(x)
+#define GINACLIB_VERSION \
+       GINACLIB_STR(GINACLIB_MAJOR_VERSION) "." \
+       GINACLIB_STR(GINACLIB_MINOR_VERSION) "." \
+       GINACLIB_STR(GINACLIB_MICRO_VERSION)
+
 namespace GiNaC {
 
 extern const int version_major;