Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.

This commit is contained in:
Collin Winter 2007-03-08 21:46:15 +00:00
parent 7afaa88ebc
commit af334387d1
1 changed files with 2 additions and 0 deletions

View File

@ -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,