mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(mframe_do_call): Use sel_get_type() instead of
class_get_instance_method() to get the selector type. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1339 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3556ba6270
commit
459308b0a3
1 changed files with 3 additions and 1 deletions
|
@ -430,7 +430,7 @@ mframe_do_call (const char *encoded_types,
|
|||
abort();
|
||||
type = m->method_types;
|
||||
}
|
||||
#else
|
||||
#elif 0
|
||||
{
|
||||
Method_t m;
|
||||
m = class_get_instance_method (object->class_pointer,
|
||||
|
@ -438,6 +438,8 @@ mframe_do_call (const char *encoded_types,
|
|||
NSCParameterAssert (m);
|
||||
type = m->method_types;
|
||||
}
|
||||
#else
|
||||
type = sel_get_type (selector);
|
||||
#endif /* NeXT_runtime */
|
||||
|
||||
/* Make sure we successfully got the method type, and that its
|
||||
|
|
Loading…
Reference in a new issue