mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
([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:
parent
40bcdbbfaa
commit
ed81ee921f
1 changed files with 5 additions and 3 deletions
|
@ -23,13 +23,15 @@
|
||||||
|
|
||||||
#include <objects/stdobjects.h>
|
#include <objects/stdobjects.h>
|
||||||
#include <Foundation/NSInvocation.h>
|
#include <Foundation/NSInvocation.h>
|
||||||
|
#include <Foundation/NSMethodSignature.h>
|
||||||
|
#include <objects/Invocation.h>
|
||||||
|
|
||||||
@implementation NSInvocation
|
@implementation NSInvocation
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
if (self == [NSInvocation class])
|
if (self == [NSInvocation class])
|
||||||
class_add_behavior (self, [MethodInvocation class]);
|
class_add_behavior (self, [Invocation class]);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSInvocation*) invocationWithObjCTypes: (const char*) types
|
+ (NSInvocation*) invocationWithObjCTypes: (const char*) types
|
||||||
|
@ -37,11 +39,11 @@
|
||||||
return [[self alloc] initWithArgframe: NULL type: types];
|
return [[self alloc] initWithArgframe: NULL type: types];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSInvocation*) invocationWithMethodSignature: (MethodSignature*)ms
|
+ (NSInvocation*) invocationWithMethodSignature: (NSMethodSignature*)ms
|
||||||
{
|
{
|
||||||
/* This assumes that the methodReturnType also includes the
|
/* This assumes that the methodReturnType also includes the
|
||||||
parameter types. */
|
parameter types. */
|
||||||
return [self invocationWithObjectTypes: [ms methodReturnType]];
|
return [self invocationWithObjCTypes: [ms methodReturnType]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSMethodSignature*) methodSignature
|
- (NSMethodSignature*) methodSignature
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue