From cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 31 May 2004 00:35:52 +0000 Subject: Add weakref support to array.array and file objects. --- Include/fileobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/fileobject.h') diff --git a/Include/fileobject.h b/Include/fileobject.h index 35b2c3dffc..ebbb521d17 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -24,6 +24,7 @@ typedef struct { int f_newlinetypes; /* Types of newlines seen */ int f_skipnextlf; /* Skip next \n */ PyObject *f_encoding; + PyObject *weakreflist; /* List of weak references */ } PyFileObject; PyAPI_DATA(PyTypeObject) PyFile_Type; -- cgit v1.2.1