Commit 41ba8c15 authored by Collin Winter's avatar Collin Winter

Add a missing forward declaration for PyFileIO_Type. The _fileio module now...

Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.
parent 4aa4c779
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment