]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Define functions without C++ name mangling.
authorBruno Haible <bruno@clisp.org>
Mon, 6 Nov 2006 12:52:22 +0000 (12:52 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:18 +0000 (12:14 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/plural-exp.h
gettext-tools/src/ChangeLog
gettext-tools/src/plural-eval.h

index 2a72b00af58e80fa78c705645e6b9834bebca09d..a210edccb7dc9404a20f55b6206cac08e80c606c 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-30  Bruno Haible  <bruno@clisp.org>
+
+       * plural-exp.h [C++]: Define functions without name mangling.
+
 2006-11-03  Bruno Haible  <bruno@clisp.org>
 
        Move declarations to header files.
index d062dd1dfc334558bfd12843ab82739366426af7..b0992b986a6a9eae04184d48596f4ea3d8edc298 100644 (file)
 # define attribute_hidden
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 
 enum expression_operator
 {
@@ -117,4 +121,9 @@ extern unsigned long int plural_eval (struct expression *pexp,
                                      unsigned long int n);
 #endif
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _PLURAL_EXP_H */
index cee10c08c4daf8f40aefdead4abb91e47b6163e9..537ecab8aaaebcc0b26a92adf95e4496c3cf7474 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-30  Bruno Haible  <bruno@clisp.org>
+
+       * plural-eval.h [C++]: Define functions without name mangling.
+
 2006-10-29  Bruno Haible  <bruno@clisp.org>
 
        Clean up libgettextpo exports in C++ mode.
index 7acba2512539360ab509d3e0fac4023a51fd453d..031fe4df825271559048b179b9a3dfd408d61cfa 100644 (file)
 # define USE_SIGINFO 1
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Exit point.  Must be set before calling install_sigfpe_handler().  */
 extern sigjmp_buf sigfpe_exit;
 
@@ -56,5 +60,9 @@ extern int sigfpe_code;
 extern void install_sigfpe_handler (void);
 extern void uninstall_sigfpe_handler (void);
 
+#ifdef __cplusplus
+}
+#endif
+
 
 #endif /* _PLURAL_EVAL_H */