[mathic] 09/13: add macros and variables that give the version number
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Sep 6 14:40:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathic.
commit 449df89b334a34ab3b93978f61b9f492d844c8f5
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