[mathicgb] 06/14: add macros and variables that give the version number
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Sep 6 00:27:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.
commit 41739f7149630fc149ec40aa6139a94f99fc6ad3
Author: Daniel R. Grayson <dan at math.uiuc.edu>
Date: Wed Sep 24 17:10:53 2014 -0500
add macros and variables that give the version number
---
src/mathicgb.cpp | 1 +
src/mathicgb.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/mathicgb.cpp b/src/mathicgb.cpp
index ddf2400..6221616 100755
--- a/src/mathicgb.cpp
+++ b/src/mathicgb.cpp
@@ -38,6 +38,7 @@
extern "C" {
void libmathicgbIsPresent(void) {}
+ char MATHICGB_VERSION_STRING[] = VERSION;
}
MATHICGB_NAMESPACE_BEGIN
diff --git a/src/mathicgb.h b/src/mathicgb.h
index 10dae31..64ba323 100755
--- a/src/mathicgb.h
+++ b/src/mathicgb.h
@@ -14,7 +14,9 @@ extern "C" {
// macro AC_CHECK_LIB. That macro can only check for libraries that contain
// at least one C function.
void libmathicgbIsPresent(void); // This function does nothing.
+ extern char MATHICGB_VERSION_STRING[];
}
+#define MATHICGB_VERSION VERSION
/// The classes and functions in this namespace make up the public interface
/// of MathicGB. You should not have to update your code when upgrading to a
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git
More information about the debian-science-commits
mailing list