mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-17 11:11:46 +00:00
Method signature fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9b22679264
commit
d23eb66985
2 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSDistantObject.m: ([-methodSignatureForSelector:])
|
||||
Fix attempting to handle creation of local method signature rather than
|
||||
returning a proxy to a remote one.
|
||||
|
||||
2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
|
||||
|
|
|
@ -573,13 +573,16 @@ enum
|
|||
|
||||
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector
|
||||
{
|
||||
if (_object)
|
||||
if (_object != nil)
|
||||
{
|
||||
return [_object methodSignatureForSelector: aSelector];
|
||||
NSMethodSignature *m = [_object methodSignatureForSelector: aSelector];
|
||||
const char *types = [m methodType];
|
||||
|
||||
return [NSMethodSignature signatureWithObjCTypes: types];
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_protocol)
|
||||
if (_protocol != nil)
|
||||
{
|
||||
const char *types = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue