Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-07 01:44:55 +0400
committerH.J. Lu <hjl.tools@gmail.com>2003-07-07 01:44:55 +0400
commit62568abba2267f744287c6ab5ed51678f20734cf (patch)
tree33bdf15679e8da1f5023cb5b676f370bb747149b /include/demangle.h
parent35738f040e4c8dfcd621a428af8aae85d186e9e6 (diff)
2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
* demangle.h: Support C++.
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 21e9dd338..bff266931 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 */