Searched refs:capsule_name (Results 1 – 2 of 2) sorted by relevance
2118 static const char *capsule_name = "capsule name"; variable2132 } else if (PyCapsule_GetName(o) != capsule_name) { in capsule_destructor()2134 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()2172 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()2181 PyCapsule_SetName(object, capsule_name); in test_capsule()
2568 static const char *capsule_name = "capsule name"; variable2582 } else if (PyCapsule_GetName(o) != capsule_name) { in capsule_destructor()2584 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()2622 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()2631 PyCapsule_SetName(object, capsule_name); in test_capsule()