vidya7732/AI_Doctor_LLM_GenModel
0
1#ifndef Py_INTERNAL_FILEUTILS_H2#define Py_INTERNAL_FILEUTILS_H3#ifdef __cplusplus4extern "C" {5#endif6 7#ifndef Py_BUILD_CORE8# error "Py_BUILD_CORE must be defined to include this header"9#endif10 11#include <locale.h> /* struct lconv */12 13PyAPI_DATA(int) _Py_HasFileSystemDefaultEncodeErrors;14 15PyAPI_FUNC(int) _Py_DecodeUTF8Ex(16 const char *arg,17 Py_ssize_t arglen,18 wchar_t **wstr,19 size_t *wlen,20 const char **reason,21 _Py_error_handler errors);22 23PyAPI_FUNC(int) _Py_EncodeUTF8Ex(24 const wchar_t *text,25 char **str,26 size_t *error_pos,27 const char **reason,28 int raw_malloc,29 _Py_error_handler errors);30 31PyAPI_FUNC(wchar_t*) _Py_DecodeUTF8_surrogateescape(32 const char *arg,33 Py_ssize_t arglen,34 size_t *wlen);35 36PyAPI_FUNC(int) _Py_GetForceASCII(void);37 38/* Reset "force ASCII" mode (if it was initialized).39 40 This function should be called when Python changes the LC_CTYPE locale,41 so the "force ASCII" mode can be detected again on the new locale42 encoding. */43PyAPI_FUNC(void) _Py_ResetForceASCII(void);44 45 46PyAPI_FUNC(int) _Py_GetLocaleconvNumeric(47 struct lconv *lc,48 PyObject **decimal_point,49 PyObject **thousands_sep);50 51#ifdef __cplusplus52}53#endif54#endif /* !Py_INTERNAL_FILEUTILS_H */55 