]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2003 21:45:37 +0000 (21:45 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2003 21:45:37 +0000 (21:45 +0000)
* demangle.h: Support C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69016 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/demangle.h

index 7812e6db794b84d6fc31611530f49fab03cb336a..49fb64dd635e67441b9ca0b53134784aa93052d3 100644 (file)
@@ -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.
index 21e9dd33820c14444ae8cea69a9ae2d9878049a1..bff266931c81b6f5d73e374f32ec5627304a96d0 100644 (file)
 
 #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 */