forked from metin-server/m2dev-client-src
python 2.7 -> python 3.14
This commit is contained in:
16
extern/include/python/cpython/fileutils.h
vendored
Normal file
16
extern/include/python/cpython/fileutils.h
vendored
Normal file
@@ -0,0 +1,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);
|
||||
Reference in New Issue
Block a user