diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-29 02:36:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 02:36:50 (GMT) |
commit | 8d8bf0b5140a7e5bd1cba7c66694cf44cdf6d0a9 (patch) | |
tree | 16189d19013558ce0459521180a818d92dcf8587 /Include/internal | |
parent | 15c5a50797020944e9ccb72bf3e28c3cca2e35c3 (diff) | |
download | cpython-8d8bf0b5140a7e5bd1cba7c66694cf44cdf6d0a9.zip cpython-8d8bf0b5140a7e5bd1cba7c66694cf44cdf6d0a9.tar.gz cpython-8d8bf0b5140a7e5bd1cba7c66694cf44cdf6d0a9.tar.bz2 |
gh-106320: Remove private _Py_UniversalNewlineFgetsWithSize() (#108602)
The remove private _Py_UniversalNewlineFgetsWithSize() function from
the public C API: move it the internal C API (pycore_fileutils.h).
No longer export the function.
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_fileutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_fileutils.h b/Include/internal/pycore_fileutils.h index f6e6258..4707a9b 100644 --- a/Include/internal/pycore_fileutils.h +++ b/Include/internal/pycore_fileutils.h @@ -315,6 +315,8 @@ extern HRESULT PathCchSkipRoot(const wchar_t *pszPath, const wchar_t **ppszRootE // Export for 'select' shared extension (Argument Clinic code) PyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject *, void *); +extern char* _Py_UniversalNewlineFgetsWithSize(char *, int, FILE*, PyObject *, size_t*); + #ifdef __cplusplus } #endif |