Searched refs:capsule_destructor (Results 1 – 1 of 1) sorted by relevance
1441 capsule_destructor(PyObject *o) { in capsule_destructor() function1445 } else if (PyCapsule_GetDestructor(o) != capsule_destructor) { in capsule_destructor()1487 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()1489 capsule_destructor(object); in test_capsule()1497 PyCapsule_SetDestructor(object, capsule_destructor); in test_capsule()1499 capsule_destructor(object); in test_capsule()