summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/selectmodule.c.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-26 01:18:09 (GMT)
committerGitHub <noreply@github.com>2023-08-26 01:18:09 (GMT)
commit6353c21b78a3d91e7cd7810f1c00258a34e85fe7 (patch)
treefdb9e8068ae4f9fd472718cea32dab935b5064a6 /Modules/clinic/selectmodule.c.h
parent713afb8804666405f29115cf459b591308e3ab54 (diff)
downloadcpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.zip
cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.gz
cpython-6353c21b78a3d91e7cd7810f1c00258a34e85fe7.tar.bz2
gh-106320: Remove private _PyLong_FileDescriptor_Converter() (#108503)
Move the private _PyLong converter functions to the internal C API * _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h * _PyLong_Size_t_Converter(): moved to pycore_long.h Argument Clinic now emits includes for pycore_fileutils.h and pycore_long.h when these functions are used.
Diffstat (limited to 'Modules/clinic/selectmodule.c.h')
-rw-r--r--Modules/clinic/selectmodule.c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/clinic/selectmodule.c.h b/Modules/clinic/selectmodule.c.h
index f6b3ea3..69c0f06 100644
--- a/Modules/clinic/selectmodule.c.h
+++ b/Modules/clinic/selectmodule.c.h
@@ -7,6 +7,7 @@ preserve
# include "pycore_runtime.h" // _Py_ID()
#endif
+#include "pycore_fileutils.h" // _PyLong_FileDescriptor_Converter()
#include "pycore_long.h" // _PyLong_UnsignedShort_Converter()
PyDoc_STRVAR(select_select__doc__,
@@ -1310,4 +1311,4 @@ exit:
#ifndef SELECT_KQUEUE_CONTROL_METHODDEF
#define SELECT_KQUEUE_CONTROL_METHODDEF
#endif /* !defined(SELECT_KQUEUE_CONTROL_METHODDEF) */
-/*[clinic end generated code: output=a19c29946a931dce input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a215af2157f038c7 input=a9049054013a1b77]*/