diff options
author | Collin Winter <collinw@gmail.com> | 2007-03-08 21:46:15 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-03-08 21:46:15 (GMT) |
commit | af334387d12e12677460b4f558ed0a670fdfcebf (patch) | |
tree | afd0ade34810b6b4ee2845ad0bbb98382980a4d6 /Modules/_fileio.c | |
parent | 7afaa88ebc7c4b1eec87c50989b599e2147e1247 (diff) | |
download | cpython-af334387d12e12677460b4f558ed0a670fdfcebf.zip cpython-af334387d12e12677460b4f558ed0a670fdfcebf.tar.gz cpython-af334387d12e12677460b4f558ed0a670fdfcebf.tar.bz2 |
Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.
Diffstat (limited to 'Modules/_fileio.c')
-rw-r--r-- | Modules/_fileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |