diff options
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r-- | Include/fileutils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h index b7b6cd26c0..d027e18348 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h @@ -19,6 +19,13 @@ PyAPI_FUNC(char*) _Py_EncodeLocaleRaw( size_t *error_pos); #endif +#ifdef Py_BUILD_CORE +PyAPI_FUNC(wchar_t*) _Py_DecodeUTF8_surrogateescape( + const char *s, + Py_ssize_t size, + size_t *p_wlen); +#endif + #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _Py_device_encoding(int); |