diff options
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r-- | Include/fileutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h index d027e18..2527d84 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h @@ -24,6 +24,14 @@ PyAPI_FUNC(wchar_t*) _Py_DecodeUTF8_surrogateescape( const char *s, Py_ssize_t size, size_t *p_wlen); + +PyAPI_FUNC(wchar_t *) _Py_DecodeCurrentLocale( + const char *arg, + size_t *size); + +PyAPI_FUNC(char*) _Py_EncodeCurrentLocale( + const wchar_t *text, + size_t *error_pos); #endif #ifndef Py_LIMITED_API |