CoolFace
Apppublic

vidya7732/AI_Doctor_LLM_GenModel

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
fileobject.h33 linesDownload Raw Back to cpython
1#ifndef Py_CPYTHON_FILEOBJECT_H2#  error "this header file must not be included directly"3#endif4 5#ifdef __cplusplus6extern "C" {7#endif8 9PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *);10 11#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x0306000012PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors;13#endif14 15#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x0307000016PyAPI_DATA(int) Py_UTF8Mode;17#endif18 19/* The std printer acts as a preliminary sys.stderr until the new io20   infrastructure is in place. */21PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int);22PyAPI_DATA(PyTypeObject) PyStdPrinter_Type;23 24typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *);25 26PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path);27PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path);28PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData);29 30#ifdef __cplusplus31}32#endif33