From af334387d12e12677460b4f558ed0a670fdfcebf Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Thu, 8 Mar 2007 21:46:15 +0000 Subject: Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug. --- Modules/_fileio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/_fileio.c b/Modules/_fileio.c index 9ab27c1..adbf01b 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c @@ -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, -- cgit v0.12