Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-07 01:44:55 +0400
committerH.J. Lu <hjl.tools@gmail.com>2003-07-07 01:44:55 +0400
commit62568abba2267f744287c6ab5ed51678f20734cf (patch)
tree33bdf15679e8da1f5023cb5b676f370bb747149b
parent35738f040e4c8dfcd621a428af8aae85d186e9e6 (diff)
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* demangle.h: Support C++.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/demangle.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 26380502a..c35106609 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * demangle.h: Support C++.
+
2003-07-01 Zack Weinberg <zack@codesourcery.com>
* filenames.h: New file imported from binutils.
diff --git a/include/demangle.h b/include/demangle.h
index 21e9dd338..bff266931 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -23,6 +23,10 @@
#include "ansidecl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/* Options passed to cplus_demangle (in 2nd parameter). */
#define DMGL_NO_OPTS 0 /* For readability... */
@@ -160,4 +164,8 @@ enum gnu_v3_dtor_kinds {
extern enum gnu_v3_dtor_kinds
is_gnu_v3_mangled_dtor PARAMS ((const char *name));
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* DEMANGLE_H */