summaryrefslogtreecommitdiff
path: root/Include/funcobject.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-23 04:17:58 +0000
committerFred Drake <fdrake@acm.org>2001-03-23 04:17:58 +0000
commita182d9a7a498806b578727c79eef53e230b63079 (patch)
tree738d626b815a42480171fa24eaf794ee197d7201 /Include/funcobject.h
parent5f398d1ed8293edc519cb89cc93ff657140f9ddd (diff)
downloadcpython-a182d9a7a498806b578727c79eef53e230b63079.tar.gz
Add the necessary field for weak reference support to the function and
method types.
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r--Include/funcobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h
index c8e97fdc0d..8cedeb7efd 100644
--- a/Include/funcobject.h
+++ b/Include/funcobject.h
@@ -16,6 +16,7 @@ typedef struct {
PyObject *func_doc;
PyObject *func_name;
PyObject *func_dict;
+ PyObject *func_weakreflist;
} PyFunctionObject;
extern DL_IMPORT(PyTypeObject) PyFunction_Type;