diff options
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_coreconfig.h | 11 | ||||
-rw-r--r-- | Include/internal/pycore_fileutils.h | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/Include/internal/pycore_coreconfig.h b/Include/internal/pycore_coreconfig.h index ebb0a9e..9f3a4c7 100644 --- a/Include/internal/pycore_coreconfig.h +++ b/Include/internal/pycore_coreconfig.h @@ -8,7 +8,7 @@ extern "C" { # error "this header requires Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN defined" #endif -/* _Py_wstrlist */ +/* --- _Py_wstrlist ----------------------------------------------- */ PyAPI_FUNC(void) _Py_wstrlist_clear( int len, @@ -24,12 +24,17 @@ PyAPI_FUNC(PyObject*) _Py_wstrlist_as_pylist( int len, wchar_t **list); -/* Py_GetArgcArgv() helpers */ +/* --- _PyArgv ---------------------------------------------------- */ + +PyAPI_FUNC(_PyInitError) _PyArgv_Decode(const _PyArgv *args, + wchar_t*** argv_p); + +/* --- Py_GetArgcArgv() helpers ----------------------------------- */ PyAPI_FUNC(void) _Py_ClearArgcArgv(void); PyAPI_FUNC(int) _Py_SetArgcArgv(int argc, wchar_t * const *argv); -/* _PyCoreConfig */ +/* --- _PyCoreConfig ---------------------------------------------- */ PyAPI_FUNC(_PyInitError) _PyCoreConfig_Read(_PyCoreConfig *config); PyAPI_FUNC(void) _PyCoreConfig_Clear(_PyCoreConfig *); diff --git a/Include/internal/pycore_fileutils.h b/Include/internal/pycore_fileutils.h index 2500665..23ae201 100644 --- a/Include/internal/pycore_fileutils.h +++ b/Include/internal/pycore_fileutils.h @@ -10,6 +10,8 @@ extern "C" { #include <locale.h> /* struct lconv */ +PyAPI_DATA(int) _Py_HasFileSystemDefaultEncodeErrors; + PyAPI_FUNC(int) _Py_DecodeUTF8Ex( const char *arg, Py_ssize_t arglen, |