mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +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
|
@ -120,7 +120,6 @@ extern "C" {
|
||||||
+ (NSInvocation*) _returnInvocationAndDestroyProxy: (id)proxy;
|
+ (NSInvocation*) _returnInvocationAndDestroyProxy: (id)proxy;
|
||||||
- (id) initWithArgframe: (arglist_t)frame selector: (SEL)aSelector;
|
- (id) initWithArgframe: (arglist_t)frame selector: (SEL)aSelector;
|
||||||
- (id) initWithMethodSignature: (NSMethodSignature*)aSignature;
|
- (id) initWithMethodSignature: (NSMethodSignature*)aSignature;
|
||||||
- (id) initWithSelector: (SEL)aSelector;
|
|
||||||
- (void*) returnFrame: (arglist_t)argFrame;
|
- (void*) returnFrame: (arglist_t)argFrame;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
|
|
||||||
@interface NSDistantObject(GNUstepExtensions)
|
@interface NSDistantObject(GNUstepExtensions)
|
||||||
- (Class) classForPortCoder;
|
- (Class) classForPortCoder;
|
||||||
- (const char *) selectorTypeForProxy: (SEL)selector;
|
|
||||||
- (id) forward: (SEL)aSel :(arglist_t)frame;
|
- (id) forward: (SEL)aSel :(arglist_t)frame;
|
||||||
- (void) finalize;
|
- (void) finalize;
|
||||||
@end
|
@end
|
||||||
|
@ -881,24 +880,6 @@ static inline BOOL class_is_kind_of (Class self, Class aClassObject)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* For backward compatibility ... do not use this method.<br />
|
|
||||||
* Returns the type information ... the modern way of doing this is
|
|
||||||
* with the -methodSignatureForSelector: method.
|
|
||||||
*/
|
|
||||||
- (const char *) selectorTypeForProxy: (SEL)selector
|
|
||||||
{
|
|
||||||
#if NeXT_RUNTIME
|
|
||||||
/* This isn't what we want, unless the remote machine has
|
|
||||||
the same architecture as us. */
|
|
||||||
const char *t;
|
|
||||||
t = [_connection typeForSelector: selector remoteTarget: _handle];
|
|
||||||
return t;
|
|
||||||
#else /* NeXT_runtime */
|
|
||||||
return sel_get_type (selector);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For backward compatibility ... do not use this method.<br />
|
* For backward compatibility ... do not use this method.<br />
|
||||||
* Handle old fashioned forwarding to the proxy.
|
* Handle old fashioned forwarding to the proxy.
|
||||||
|
@ -973,24 +954,6 @@ static inline BOOL class_is_kind_of (Class self, Class aClassObject)
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
@implementation NSObject (NSDistantObject)
|
|
||||||
- (const char *) selectorTypeForProxy: (SEL)selector
|
|
||||||
{
|
|
||||||
#if NeXT_runtime
|
|
||||||
{
|
|
||||||
Method m = GSGetInstanceMethod(isa, selector);
|
|
||||||
if (m)
|
|
||||||
return m->method_types;
|
|
||||||
else
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
return sel_get_type (selector);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
||||||
@implementation Protocol (DistributedObjectsCoding)
|
@implementation Protocol (DistributedObjectsCoding)
|
||||||
|
|
||||||
- (Class) classForPortCoder
|
- (Class) classForPortCoder
|
||||||
|
|
|
@ -785,34 +785,6 @@ _arg_addr(NSInvocation *inv, int index)
|
||||||
return nil;
|
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 />
|
* Internal use.<br />
|
||||||
* Provides a return frame that the ObjectiveC runtime can use to
|
* Provides a return frame that the ObjectiveC runtime can use to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue