File indexing completed on 2025-01-18 10:06:49
0001 #ifndef Py_FILEUTILS_H
0002 #define Py_FILEUTILS_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000
0008 PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
0009 const char *arg,
0010 size_t *size);
0011
0012 PyAPI_FUNC(char*) Py_EncodeLocale(
0013 const wchar_t *text,
0014 size_t *error_pos);
0015 #endif
0016
0017 #ifndef Py_LIMITED_API
0018 # define Py_CPYTHON_FILEUTILS_H
0019 # include "cpython/fileutils.h"
0020 # undef Py_CPYTHON_FILEUTILS_H
0021 #endif
0022
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif