From: H.J. Lu Date: Sun, 6 Jul 2003 21:44:55 +0000 (+0000) Subject: 2003-07-06 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87242c64601df0e5850a386dfbdaa1e2b9c31816;p=binutils-gdb.git 2003-07-06 H.J. Lu * demangle.h: Support C++. --- diff --git a/include/ChangeLog b/include/ChangeLog index 26380502a39..c351066097b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-07-06 H.J. Lu + + * demangle.h: Support C++. + 2003-07-01 Zack Weinberg * 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 */