blob: 626b1ad57b384688609f0add0a2b52a3bbf8c97a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef Py_CPYTHON_FILEUTILS_H
# error "this header file must not be included directly"
#endif
PyAPI_FUNC(FILE*) Py_fopen(
PyObject *path,
const char *mode);
// Deprecated alias kept for backward compatibility
Py_DEPRECATED(3.14) static inline FILE*
_Py_fopen_obj(PyObject *path, const char *mode)
{
return Py_fopen(path, mode);
}
PyAPI_FUNC(int) Py_fclose(FILE *file);
|