diff options
author | Bruno Haible <bruno@clisp.org> | 2006-10-31 12:41:52 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:14:17 +0200 |
commit | 93f012e908818e29a94125315409f3367997a2fd (patch) | |
tree | 7603af64e5d971cff109a7b3704f889017623512 /gettext-tools/src/message.h | |
parent | 58197c3268a119eb48bcd1ec0363f7b94f804a24 (diff) | |
download | external_gettext-93f012e908818e29a94125315409f3367997a2fd.zip external_gettext-93f012e908818e29a94125315409f3367997a2fd.tar.gz external_gettext-93f012e908818e29a94125315409f3367997a2fd.tar.bz2 |
Make it compile in C++ mode.
Diffstat (limited to 'gettext-tools/src/message.h')
-rw-r--r-- | gettext-tools/src/message.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gettext-tools/src/message.h b/gettext-tools/src/message.h index 1e04049..dc7a234 100644 --- a/gettext-tools/src/message.h +++ b/gettext-tools/src/message.h @@ -98,6 +98,17 @@ enum is_wrap #endif +struct altstr +{ + const char *msgstr; + size_t msgstr_len; + const char *msgstr_end; + string_list_ty *comment; + string_list_ty *comment_dot; + char *id; +}; + + typedef struct message_ty message_ty; struct message_ty { @@ -156,16 +167,7 @@ struct message_ty /* Used for combining alternative translations, in the msgcat program. */ int alternative_count; - struct altstr - { - const char *msgstr; - size_t msgstr_len; - const char *msgstr_end; - string_list_ty *comment; - string_list_ty *comment_dot; - char *id; - } - *alternative; + struct altstr *alternative; }; extern message_ty * |