17db96d56Sopenharmony_ci#ifndef Py_CPYTHON_FILEOBJECT_H 27db96d56Sopenharmony_ci# error "this header file must not be included directly" 37db96d56Sopenharmony_ci#endif 47db96d56Sopenharmony_ci 57db96d56Sopenharmony_ciPyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); 67db96d56Sopenharmony_ciPyAPI_FUNC(char *) _Py_UniversalNewlineFgetsWithSize(char *, int, FILE*, PyObject *, size_t*); 77db96d56Sopenharmony_ci 87db96d56Sopenharmony_ci/* The std printer acts as a preliminary sys.stderr until the new io 97db96d56Sopenharmony_ci infrastructure is in place. */ 107db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); 117db96d56Sopenharmony_ciPyAPI_DATA(PyTypeObject) PyStdPrinter_Type; 127db96d56Sopenharmony_ci 137db96d56Sopenharmony_citypedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); 147db96d56Sopenharmony_ci 157db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); 167db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); 177db96d56Sopenharmony_ciPyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); 187db96d56Sopenharmony_ci 197db96d56Sopenharmony_ciPyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject *, void *); 20