Kaydet (Commit) af334387 authored tarafından 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.
üst 7afaa88e
...@@ -44,6 +44,8 @@ typedef struct { ...@@ -44,6 +44,8 @@ typedef struct {
PyObject *weakreflist; PyObject *weakreflist;
} PyFileIOObject; } PyFileIOObject;
PyTypeObject PyFileIO_Type;
#define PyFileIO_Check(op) (PyObject_TypeCheck((op), &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, /* 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