mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 00:30:49 +00:00
Replace a call to -[Protocol name] with protocol_getName
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7282e58e08
commit
af8fc16268
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSProtocolChecker.m: Replace a -[Protocol name] with
|
||||
protocol_getName()
|
||||
|
||||
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSDistantObject.m: #ifdef to disable category
|
||||
|
|
|
@ -98,13 +98,13 @@
|
|||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"<%s -%@> not declared",
|
||||
[_myProtocol name], NSStringFromSelector([anInvocation selector])];
|
||||
protocol_getName(_myProtocol), NSStringFromSelector([anInvocation selector])];
|
||||
}
|
||||
else
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"<%s +%@> not declared",
|
||||
[_myProtocol name], NSStringFromSelector([anInvocation selector])];
|
||||
protocol_getName(_myProtocol), NSStringFromSelector([anInvocation selector])];
|
||||
}
|
||||
}
|
||||
[anInvocation invokeWithTarget: _myTarget];
|
||||
|
|
Loading…
Reference in a new issue