mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-11-23 12:19:44 +00:00
protocol_copyProtocolList() return the allocated/populated result
This commit is contained in:
parent
c819b379da
commit
eee9f69ca1
@ -341,7 +341,7 @@ Protocol*__unsafe_unretained* protocol_copyProtocolList(Protocol *p, unsigned in
|
||||
{
|
||||
out[i] = (Protocol*)p->protocol_list->list[i];
|
||||
}
|
||||
return NULL;
|
||||
return out;
|
||||
}
|
||||
|
||||
objc_property_t *protocol_copyPropertyList(Protocol *protocol,
|
||||
|
Loading…
Reference in New Issue
Block a user