summaryrefslogtreecommitdiffstats
path: root/Include/code.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-07 00:29:52 (GMT)
committerGitHub <noreply@github.com>2022-04-07 00:29:52 (GMT)
commit85addfb9c6496eb3d26082348cf5aca848c877ef (patch)
treeb6a0cd3eda126249ee74b718cc7b2c2a3f4d5876 /Include/code.h
parent5c4d1f6e0e192653560ae2941a6677fbf4fbd1f2 (diff)
downloadcpython-85addfb9c6496eb3d26082348cf5aca848c877ef.zip
cpython-85addfb9c6496eb3d26082348cf5aca848c877ef.tar.gz
cpython-85addfb9c6496eb3d26082348cf5aca848c877ef.tar.bz2
bpo-35134: Remove the Include/code.h header file (GH-32385)
Remove the Include/code.h header file. C extensions should only include the main <Python.h> header file. Python.h includes directly Include/cpython/code.h instead.
Diffstat (limited to 'Include/code.h')
-rw-r--r--Include/code.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/Include/code.h b/Include/code.h
deleted file mode 100644
index 0245c32..0000000
--- a/Include/code.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Definitions for bytecode */
-
-#ifndef Py_CODE_H
-#define Py_CODE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#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 */