]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add a version number.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Feb 2005 11:11:40 +0000 (11:11 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:12 +0000 (12:12 +0200)
gettext-tools/ChangeLog
gettext-tools/src/ChangeLog
gettext-tools/src/gettext-po.c
gettext-tools/src/gettext-po.h
gettext-tools/windows/gettextpo.def

index b78e1dcdcf3b35a41952f3f6379eb5bdf5d78fdf..f03af03c99916dde8c7f154f7f357dbdbe6f1725 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-10  Bruno Haible  <bruno@clisp.org>
+
+       * windows/gettextpo.def: Add libgettextpo_version.
+
 2005-02-10  Bruno Haible  <bruno@clisp.org>
 
        * windows/gettextpo.def: Add po_message_remove_filepos,
index 3eaa36247631a469242eda4a2c2d7fd3baf2acb5..cc81f5f15aaaf35ad94fbb31d26d3995316a31bd 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-10  Bruno Haible  <bruno@clisp.org>
+
+       * gettext-po.h (LIBGETTEXTPO_VERSION): New macro.
+       (libgettextpo_version): New declaration.
+       * gettext-po.c (libgettextpo_version): New variable.
+
 2005-02-10  Bruno Haible  <bruno@clisp.org>
 
        * gettext-po.h (po_message_remove_filepos, po_message_add_filepos): New
index 0508616aa6ab66058009a0c8f7cdb1d5d4ced8a9..8e2413c805b74c3e6ba22b6d39f6b44d3c5e63ca 100644 (file)
@@ -64,6 +64,10 @@ struct po_message_iterator
 /* A po_filepos_t is actually a 'lex_pos_ty *'.  */
 
 
+/* Version number: (major<<16) + (minor<<8) + subminor */
+int libgettextpo_version = LIBGETTEXTPO_VERSION;
+
+
 /* Create an empty PO file representation in memory.  */
 
 po_file_t
index e54d966ac2e14ec3ab5bb2e5ae54b757bd675f2f..2def1ea3b4c21df0993931ba9c5ca1f464f1359d 100644 (file)
@@ -26,6 +26,12 @@ extern "C" {
 #endif
 
 
+/* =========================== Meta Information ============================ */
+
+/* Version number: (major<<16) + (minor<<8) + subminor */
+#define LIBGETTEXTPO_VERSION 0x000E02
+extern int libgettextpo_version;
+
 /* ================================= Types ================================= */
 
 /* A po_file_t represents the contents of a PO file.  */
index 16d477a3cb0367ae13fffd959bdcb846c14053de..a0a089004814f15093fb8fc6248435527c943ed1 100644 (file)
@@ -1,5 +1,6 @@
 LIBRARY gettextpo
 EXPORTS
+libgettextpo_version
 po_file_create
 po_file_domains
 po_file_domain_header