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()
2929 static const char *capsule_name = "capsule name"; variable2943 } else if (PyCapsule_GetName(o) != capsule_name) { in capsule_destructor()2945 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()2983 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()2992 PyCapsule_SetName(object, capsule_name); in test_capsule()