summaryrefslogtreecommitdiffstats
path: root/Include/intobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/intobject.h')
-rw-r--r--Include/intobject.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/intobject.h b/Include/intobject.h
index ef11c2f..7b778e9 100644
--- a/Include/intobject.h
+++ b/Include/intobject.h
@@ -1,3 +1,9 @@
+#ifndef Py_INTOBJECT_H
+#define Py_INTOBJECT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/***********************************************************
Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
@@ -70,3 +76,8 @@ extern intobject FalseObject, TrueObject; /* Don't use these directly */
/* Macro, trading safety for speed */
#define GETINTVALUE(op) ((op)->ob_ival)
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_INTOBJECT_H */