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/demangle.h | |
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/demangle.h')
-rw-r--r-- | include/demangle.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 */ |