mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
(+conformsToProtocol:): For now, send conformsTo: to Protocol object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1916f68276
commit
b84b1b9a16
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ BOOL NSDecrementExtraRefCountWasZero(id anObject)
|
||||||
{
|
{
|
||||||
for (i=0; i < proto_list->count; i++)
|
for (i=0; i < proto_list->count; i++)
|
||||||
{
|
{
|
||||||
if ([proto_list->list[i] conformsToProtocol: aProtocol])
|
/* xxx We should add conformsToProtocol to Protocol class. */
|
||||||
|
if ([proto_list->list[i] conformsTo: aProtocol])
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue