mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.
This commit is contained in:
parent
7afaa88ebc
commit
af334387d1
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ typedef struct {
|
|||
PyObject *weakreflist;
|
||||
} PyFileIOObject;
|
||||
|
||||
PyTypeObject PyFileIO_Type;
|
||||
|
||||
#define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
|
||||
|
||||
/* Note: if this function is changed so that it can return a true value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue