diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-06 21:45:37 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-06 21:45:37 +0000 |
commit | 12dd9be627e367c87d56dc053f271e1375aa6a92 (patch) | |
tree | c39094b6acf36af080b21ba0a41c2ef71c392692 /include | |
parent | a046944bca419afcd8c06e75438a1eaf1c38b341 (diff) | |
download | gcc-12dd9be627e367c87d56dc053f271e1375aa6a92.tar.gz |
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* demangle.h: Support C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69016 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/demangle.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 7812e6db794..49fb64dd635 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 21e9dd33820..bff266931c8 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 */ |