summaryrefslogtreecommitdiffstats
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-04 08:27:23 (GMT)
committerGitHub <noreply@github.com>2023-07-04 08:27:23 (GMT)
commitec931fc3943df0b94f2e250d7723892f2b3414bd (patch)
tree99d0b77513ea1de484027d217c4342fe24b7b4b7 /Modules/_struct.c
parentd8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1 (diff)
downloadcpython-ec931fc3943df0b94f2e250d7723892f2b3414bd.zip
cpython-ec931fc3943df0b94f2e250d7723892f2b3414bd.tar.gz
cpython-ec931fc3943df0b94f2e250d7723892f2b3414bd.tar.bz2
gh-106320: Remove _PyBytesWriter C API (#106399)
Remove the _PyBytesWriter C API: move it to the internal C API (pycore_bytesobject.h).
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 0a6f076..31c9492 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -8,6 +8,7 @@
#endif
#include "Python.h"
+#include "pycore_bytesobject.h" // _PyBytesWriter
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "structmember.h" // PyMemberDef
#include <ctype.h>