63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
pl != NULL; pl = pl->next)
for (long i = 0; i < pl->count; i++)
if (protocol_conformsToProtocol(pl->list[i], p))
return true;
objc_global_mutex_lock();
if ((cats = objc_categories_for_class(cls)) == NULL) {
objc_global_mutex_unlock();
return false;
}
for (long i = 0; cats[i] != NULL; i++) {
for (struct objc_protocol_list *pl = cats[i]->protocols;
pl != NULL; pl = pl->next) {
|
|
|
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
pl != NULL; pl = pl->next)
for (long i = 0; i < pl->count; i++)
if (protocol_conformsToProtocol(pl->list[i], p))
return true;
objc_global_mutex_lock();
if ((cats = objc_categories_for_class((Class)cls)) == NULL) {
objc_global_mutex_unlock();
return false;
}
for (long i = 0; cats[i] != NULL; i++) {
for (struct objc_protocol_list *pl = cats[i]->protocols;
pl != NULL; pl = pl->next) {
|