]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.cpp
- utils.cpp, version.h.in: add version information to the library itself.
[ginac.git] / ginac / utils.cpp
index 49edabee177ae8a6a05aae870f5e20ce267a4062..d309c09013c2448ddd77ebc10c82cf122b6288d6 100644 (file)
 #include "ex.h"
 #include "numeric.h"
 #include "utils.h"
+#include "version.h"
 
 #ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
 #endif // ndef NO_NAMESPACE_GINAC
 
+/* Version information buried into the library */
+const int version_major = GINACLIB_MAJOR_VERSION;
+const int version_minor = GINACLIB_MINOR_VERSION;
+const int version_micro = GINACLIB_MICRO_VERSION;
+
+
 /** ctor for pole_error exception class. */
 pole_error::pole_error(const std::string& what_arg, int degree)
   : domain_error(what_arg)