aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-06 21:44:55 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-07-06 21:44:55 +0000
commit87242c64601df0e5850a386dfbdaa1e2b9c31816 (patch)
tree82bf5a5b82912542e7c8ac972280bfb2045e9b8b /include
parentb40e3958d9ec5fdeab496d01b4d5662e5e99f086 (diff)
downloadgdb-87242c64601df0e5850a386dfbdaa1e2b9c31816.zip
gdb-87242c64601df0e5850a386dfbdaa1e2b9c31816.tar.gz
gdb-87242c64601df0e5850a386dfbdaa1e2b9c31816.tar.bz2
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* demangle.h: Support C++.
Diffstat (limited to 'include')
-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 2638050..c351066 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 21e9dd3..bff2669 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 */