[mathic] 09/30: add macros and variables that give the version number
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Mar 20 20:58:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository mathic.
commit 0621694fb195d6d3f4bae2caba0742d5629734e6
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/mathic.cpp | 1 +
src/mathic.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/mathic.cpp b/src/mathic.cpp
index 2b0f03d..b1f4c71 100755
--- a/src/mathic.cpp
+++ b/src/mathic.cpp
@@ -2,4 +2,5 @@
extern "C" {
void libmathicIsPresent(void) {}
+ char MATHIC_VERSION_STRING[] = VERSION;
}
diff --git a/src/mathic.h b/src/mathic.h
index 5c70f5b..1efa94e 100755
--- a/src/mathic.h
+++ b/src/mathic.h
@@ -35,4 +35,6 @@ extern "C" {
// macro AC_CHECK_LIB. That macro can only check for libraries that contain
// at least one C function.
void libmathicIsPresent(void); // This function does nothing.
+ extern char MATHIC_VERSION_STRING[];
}
+#define MATHIC_VERSION VERSION
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathic.git
More information about the debian-science-commits
mailing list