summaryrefslogtreecommitdiffstats
path: root/Include/cgensupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cgensupport.h')
-rw-r--r--Include/cgensupport.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/cgensupport.h b/Include/cgensupport.h
index 43818bc..8472b03 100644
--- a/Include/cgensupport.h
+++ b/Include/cgensupport.h
@@ -1,3 +1,9 @@
+#ifndef Py_CGENSUPPORT_H
+#define Py_CGENSUPPORT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/***********************************************************
Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
@@ -36,3 +42,8 @@ extern int getilongarg PROTO((object *args, int nargs, int i, long *p_a));
extern int getishortarg PROTO((object *args, int nargs, int i, short *p_a));
extern int getifloatarg PROTO((object *args, int nargs, int i, float *p_a));
extern int getistringarg PROTO((object *args, int nargs, int i, string *p_a));
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_CGENSUPPORT_H */