mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
If selector types are not available, ask the NSDistantObject to get them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a8bc29436b
commit
0614a58401
1 changed files with 6 additions and 2 deletions
|
@ -1139,8 +1139,6 @@ static int messages_received_count;
|
|||
|
||||
NSParameterAssert (is_valid);
|
||||
[[self retain] autorelease];
|
||||
op = [self newSendingRequestRmc];
|
||||
seq_num = [op sequenceNumber];
|
||||
|
||||
/* get the method types from the selector */
|
||||
#if NeXT_runtime
|
||||
|
@ -1151,9 +1149,15 @@ static int messages_received_count;
|
|||
#else
|
||||
type = sel_get_type(sel);
|
||||
#endif
|
||||
if (type == 0 || *type == '\0') {
|
||||
type = [[object methodSignatureForSelector: sel] methodType];
|
||||
}
|
||||
NSParameterAssert(type);
|
||||
NSParameterAssert(*type);
|
||||
|
||||
op = [self newSendingRequestRmc];
|
||||
seq_num = [op sequenceNumber];
|
||||
|
||||
/* Send the types that we're using, so that the performer knows
|
||||
exactly what qualifiers we're using.
|
||||
If all selectors included qualifiers, and if I could make
|
||||
|
|
Loading…
Reference in a new issue