Download runtime/include/cpython/fileobject.h from jam134/adad: direct link, hf CLI and curl.
- Browser
- Download file 745 Bytes
-
https://huggingface.co/spaces/jam134/adad/resolve/main/runtime/include/cpython/fileobject.h
- Command line
-
hf download hf://spaces/jam134/adad/runtime/include/cpython/fileobject.h
-
curl -L -o fileobject.h https://huggingface.co/spaces/jam134/adad/resolve/main/runtime/include/cpython/fileobject.h
745 Bytes
| extern "C" { | |
| PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); | |
| /* The std printer acts as a preliminary sys.stderr until the new io | |
| infrastructure is in place. */ | |
| PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); | |
| PyAPI_DATA(PyTypeObject) PyStdPrinter_Type; | |
| typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); | |
| PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); | |
| PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); | |
| PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); | |
| } | |