([NSInvocation +initialize]): Fix typo.

([NSInvocation +invocationWithMethodSignature:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1003 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-02-24 18:51:20 +00:00
parent 5df75048c4
commit 4bf7f6fe58

View file

@ -23,13 +23,15 @@
#include <objects/stdobjects.h>
#include <Foundation/NSInvocation.h>
#include <Foundation/NSMethodSignature.h>
#include <objects/Invocation.h>
@implementation NSInvocation
+ (void) initialize
{
if (self == [NSInvocation class])
class_add_behavior (self, [MethodInvocation class]);
class_add_behavior (self, [Invocation class]);
}
+ (NSInvocation*) invocationWithObjCTypes: (const char*) types
@ -37,11 +39,11 @@
return [[self alloc] initWithArgframe: NULL type: types];
}
+ (NSInvocation*) invocationWithMethodSignature: (MethodSignature*)ms
+ (NSInvocation*) invocationWithMethodSignature: (NSMethodSignature*)ms
{
/* This assumes that the methodReturnType also includes the
parameter types. */
return [self invocationWithObjectTypes: [ms methodReturnType]];
return [self invocationWithObjCTypes: [ms methodReturnType]];
}
- (NSMethodSignature*) methodSignature