Searched refs:wr_callback (Results 1 – 4 of 4) sorted by relevance
28 self->wr_callback = callback; in init_weakref()53 PyObject *callback = self->wr_callback; in clear_weakref()73 self->wr_callback = NULL; in clear_weakref()96 callback = self->wr_callback; in _PyWeakref_ClearRef()97 self->wr_callback = NULL; in _PyWeakref_ClearRef()99 self->wr_callback = callback; in _PyWeakref_ClearRef()114 Py_VISIT(self->wr_callback); in gc_traverse()227 if (head != NULL && head->wr_callback == NULL) { in get_basic_refs()236 && head->wr_callback == NULL in get_basic_refs()540 if (self->wr_callback != NULL) in proxy_dealloc()[all …]
272 PyObject *wr_callback; member302 wr = PyWeakref_NewRef((PyObject *) dummy, self->wr_callback); in _local_create_dummy()371 self->wr_callback = PyCFunction_New(&wr_callback_def, wr); in local_new()373 if (self->wr_callback == NULL) in local_new()402 Py_CLEAR(self->wr_callback); in local_clear()
648 if (wr->wr_callback == NULL) in handle_weakrefs()709 callback = wr->wr_callback; in handle_weakrefs()
25 PyObject *wr_callback; member