summaryrefslogtreecommitdiff
path: root/sigrokdecode.h.in
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-24 19:41:40 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-24 21:54:57 +0100
commit03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e (patch)
tree4f5f8dd0c3ed0ecee5281199207b44a395b48776 /sigrokdecode.h.in
parent8f01b6bcc58e25c92a263f99283748d29421cacb (diff)
downloadlibsigrokdecode-03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e.tar.gz
libsigrokdecode-03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e.zip
srd: sigrokdecode.h: Add version macros.
Diffstat (limited to 'sigrokdecode.h.in')
-rw-r--r--sigrokdecode.h.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/sigrokdecode.h.in b/sigrokdecode.h.in
index ded00bf..58fb056 100644
--- a/sigrokdecode.h.in
+++ b/sigrokdecode.h.in
@@ -31,6 +31,38 @@ extern "C" {
#endif
/*
+ * Package version macros (can be used for conditional compilation).
+ */
+
+/** The libsigrokdecode package 'major' version number. */
+#define LIBSIGROKDECODE_MAJOR_VERSION @LIBSIGROKDECODE_MAJOR_VERSION@
+
+/** The libsigrokdecode package 'minor' version number. */
+#define LIBSIGROKDECODE_MINOR_VERSION @LIBSIGROKDECODE_MINOR_VERSION@
+
+/** The libsigrokdecode package 'micro' version number. */
+#define LIBSIGROKDECODE_MICRO_VERSION @LIBSIGROKDECODE_MICRO_VERSION@
+
+/** The libsigrokdecode package version ("major.minor.micro") as string. */
+#define LIBSIGROKDECODE_VERSION_STRING "@LIBSIGROKDECODE_VERSION@"
+
+/*
+ * Library/libtool version macros (can be used for conditional compilation).
+ */
+
+/** The libsigrokdecode libtool 'current' version number. */
+#define LIBSIGROKDECODE_LT_CURRENT @LIBSIGROKDECODE_LT_CURRENT@
+
+/** The libsigrokdecode libtool 'revision' version number. */
+#define LIBSIGROKDECODE_LT_REVISION @LIBSIGROKDECODE_LT_REVISION@
+
+/** The libsigrokdecode libtool 'age' version number. */
+#define LIBSIGROKDECODE_LT_AGE @LIBSIGROKDECODE_LT_AGE@
+
+/** The libsigrokdecode libtool version ("current:revision:age") as string. */
+#define LIBSIGROKDECODE_LT_VERSION_STRING "@LIBSIGROKDECODE_LT_VERSION@"
+
+/*
* Status/error codes returned by libsigrokdecode functions.
*
* All possible return codes of libsigrokdecode functions must be listed here.