summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Include/code.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tools/python3/src/Include/code.h')
-rw-r--r--contrib/tools/python3/src/Include/code.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/tools/python3/src/Include/code.h b/contrib/tools/python3/src/Include/code.h
new file mode 100644
index 00000000000..b9e23eb8165
--- /dev/null
+++ b/contrib/tools/python3/src/Include/code.h
@@ -0,0 +1,20 @@
+/* Definitions for bytecode */
+
+#ifndef Py_CODE_H
+#define Py_CODE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct PyCodeObject PyCodeObject;
+
+#ifndef Py_LIMITED_API
+# define Py_CPYTHON_CODE_H
+# include "cpython/code.h"
+# undef Py_CPYTHON_CODE_H
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !Py_CODE_H */