[libgxps] Add GXPS_VERSION_STRING macro with the version number as a string
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps] Add GXPS_VERSION_STRING macro with the version number as a string
- Date: Sat, 21 Jan 2012 09:09:02 +0000 (UTC)
commit b1f6b095de401b9eef60ff54565e3c6f5bbb454b
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sat Jan 21 09:52:52 2012 +0100
Add GXPS_VERSION_STRING macro with the version number as a string
docs/reference/libgxps-sections.txt | 1 +
libgxps/gxps-version.h.in | 7 +++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/libgxps-sections.txt b/docs/reference/libgxps-sections.txt
index 49c32be..ccbf791 100644
--- a/docs/reference/libgxps-sections.txt
+++ b/docs/reference/libgxps-sections.txt
@@ -142,5 +142,6 @@ gxps_error_quark
GXPS_MAJOR_VERSION
GXPS_MINOR_VERSION
GXPS_MICRO_VERSION
+GXPS_VERSION_STRING
GXPS_CHECK_VERSION
</SECTION>
diff --git a/libgxps/gxps-version.h.in b/libgxps/gxps-version.h.in
index cb15cd4..6ad02e8 100644
--- a/libgxps/gxps-version.h.in
+++ b/libgxps/gxps-version.h.in
@@ -58,6 +58,13 @@
#define GXPS_MICRO_VERSION(@GXPS_MICRO_VERSION@)
/**
+ * GXPS_VERSION_STRING:
+ *
+ * The version number of the GXPS library as a string
+ */
+#define GXPS_VERSION_STRING "@PACKAGE_VERSION@"
+
+/**
* GXPS_CHECK_VERSION:
* @major: major version (e.g. 0 for version 0.1.2)
* @minor: minor version (e.g. 1 for version 0.1.2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]