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