mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
remove a few obsolete, unused methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29785 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a0a018b4c5
commit
8aadd12c71
3 changed files with 0 additions and 66 deletions
|
@ -785,34 +785,6 @@ _arg_addr(NSInvocation *inv, int index)
|
|||
return nil;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to produce a method signature based on aSelector and uses that to
|
||||
* initialise self by calling the -initWithMethodSignature: method.<br />
|
||||
* If the argument type of aSelector cannot be determined, this releases self
|
||||
* and returns nil.
|
||||
*/
|
||||
- (id) initWithSelector: (SEL)aSelector
|
||||
{
|
||||
const char *types;
|
||||
NSMethodSignature *newSig;
|
||||
|
||||
types = sel_get_type(aSelector);
|
||||
if (types == 0)
|
||||
{
|
||||
types
|
||||
= sel_get_type(sel_get_any_typed_uid(sel_getName(aSelector)));
|
||||
}
|
||||
if (types == 0)
|
||||
{
|
||||
NSLog(@"Couldn't find encoding type for selector %s.",
|
||||
sel_getName(aSelector));
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
newSig = [NSMethodSignature signatureWithObjCTypes: types];
|
||||
return [self initWithMethodSignature: newSig];
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal use.<br />
|
||||
* Provides a return frame that the ObjectiveC runtime can use to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue