diff options
author | Bruno Haible <bruno@clisp.org> | 2005-02-11 11:11:40 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:12 +0200 |
commit | 3af32f6e36e71e3493635723e4f441c9fe62caaf (patch) | |
tree | bc2850db5920935a276fce70bdfbc1ec9aa1c9bb /gettext-tools | |
parent | cbf9d579c351397fb25d2ca8b58bd22bf4b30b12 (diff) | |
download | external_gettext-3af32f6e36e71e3493635723e4f441c9fe62caaf.zip external_gettext-3af32f6e36e71e3493635723e4f441c9fe62caaf.tar.gz external_gettext-3af32f6e36e71e3493635723e4f441c9fe62caaf.tar.bz2 |
Add a version number.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-tools/src/ChangeLog | 6 | ||||
-rw-r--r-- | gettext-tools/src/gettext-po.c | 4 | ||||
-rw-r--r-- | gettext-tools/src/gettext-po.h | 6 | ||||
-rw-r--r-- | gettext-tools/windows/gettextpo.def | 1 |
5 files changed, 21 insertions, 0 deletions
diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index b78e1dc..f03af03 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,5 +1,9 @@ 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, po_message_add_filepos. diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 3eaa362..cc81f5f 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,5 +1,11 @@ 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 declarations. * gettext-po.c (po_message_remove_filepos, po_message_add_filepos): New diff --git a/gettext-tools/src/gettext-po.c b/gettext-tools/src/gettext-po.c index 0508616..8e2413c 100644 --- a/gettext-tools/src/gettext-po.c +++ b/gettext-tools/src/gettext-po.c @@ -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 diff --git a/gettext-tools/src/gettext-po.h b/gettext-tools/src/gettext-po.h index e54d966..2def1ea 100644 --- a/gettext-tools/src/gettext-po.h +++ b/gettext-tools/src/gettext-po.h @@ -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. */ diff --git a/gettext-tools/windows/gettextpo.def b/gettext-tools/windows/gettextpo.def index 16d477a..a0a0890 100644 --- a/gettext-tools/windows/gettextpo.def +++ b/gettext-tools/windows/gettextpo.def @@ -1,5 +1,6 @@ LIBRARY gettextpo EXPORTS +libgettextpo_version po_file_create po_file_domains po_file_domain_header |