mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
PyObject_ClearWeakRefs() is now a real function instead of a function pointer;
the implementation is in Objects/weakrefobject.c.
This commit is contained in:
parent
502ed82125
commit
b3f0d349b6
2 changed files with 1 additions and 16 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue