summaryrefslogtreecommitdiff
path: root/Include/fileutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r--Include/fileutils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h
index 875715df97..8fa70baa21 100644
--- a/Include/fileutils.h
+++ b/Include/fileutils.h
@@ -17,6 +17,16 @@ PyAPI_FUNC(char*) Py_EncodeLocale(
#ifndef Py_LIMITED_API
+PyAPI_FUNC(wchar_t *) _Py_DecodeLocaleEx(
+ const char *arg,
+ size_t *size,
+ int current_locale);
+
+PyAPI_FUNC(char*) _Py_EncodeLocaleEx(
+ const wchar_t *text,
+ size_t *error_pos,
+ int current_locale);
+
PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
#ifdef MS_WINDOWS