summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-05-08 20:16:21 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:15 +0200
commit6ace5c3beab692660abced0c1a1b2f10b3b5d728 (patch)
tree6b399201a5da5280b61a0d69ebc70816167cf96d
parent24404cc670b587213694cb19af7642ed6ebde61d (diff)
downloadexternal_gettext-6ace5c3beab692660abced0c1a1b2f10b3b5d728.zip
external_gettext-6ace5c3beab692660abced0c1a1b2f10b3b5d728.tar.gz
external_gettext-6ace5c3beab692660abced0c1a1b2f10b3b5d728.tar.bz2
Add C++ guard.
-rw-r--r--gettext-tools/src/ChangeLog4
-rw-r--r--gettext-tools/src/filters.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index f1af117..016a6fe 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-02 Charles Wilson <cygwin@cwilson.fastmail.fm>
+
+ * filters.h: Add C++ guards.
+
2006-05-07 Bruno Haible <bruno@clisp.org>
* x-perl.c (extract_variable): Fix syntax error introduced on
diff --git a/gettext-tools/src/filters.h b/gettext-tools/src/filters.h
index 04708d2..1ab469e 100644
--- a/gettext-tools/src/filters.h
+++ b/gettext-tools/src/filters.h
@@ -17,6 +17,10 @@
#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Convert a string INPUT of INPUT_LEN bytes containing Serbian input
to Latin script (not Latin language :-)), converting Cyrillic letters to
Latin letters.
@@ -25,3 +29,8 @@
Input and output are in UTF-8 encoding. */
extern void serbian_to_latin (const char *input, size_t input_len,
char **output_p, size_t *output_len_p);
+
+#ifdef __cplusplus
+}
+#endif
+