diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-05 21:58:11 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-05 21:58:11 (GMT) |
commit | b3f0d349b62e0dbd909fc4012c031b44b4c72916 (patch) | |
tree | 426c30ba18bca4136916933c4b17751851d41a71 /Include/object.h | |
parent | 502ed82125e0d11204357bb9bc48f88e8a994bb0 (diff) | |
download | cpython-b3f0d349b62e0dbd909fc4012c031b44b4c72916.zip cpython-b3f0d349b62e0dbd909fc4012c031b44b4c72916.tar.gz cpython-b3f0d349b62e0dbd909fc4012c031b44b4c72916.tar.bz2 |
PyObject_ClearWeakRefs() is now a real function instead of a function pointer;
the implementation is in Objects/weakrefobject.c.
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 400e65751..e9eeb0e 100644 --- a/Include/object.h +++ b/Include/object.h @@ -345,7 +345,7 @@ extern DL_IMPORT(int) PyCallable_Check(PyObject *); extern DL_IMPORT(int) PyNumber_Coerce(PyObject **, PyObject **); extern DL_IMPORT(int) PyNumber_CoerceEx(PyObject **, PyObject **); -extern DL_IMPORT(void) (*PyObject_ClearWeakRefs)(PyObject *); +extern DL_IMPORT(void) PyObject_ClearWeakRefs(PyObject *); /* A slot function whose address we need to compare */ extern int _PyObject_SlotCompare(PyObject *, PyObject *); |