(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:
Andrew McCallum 1996-04-10 16:37:30 +00:00
parent 3556ba6270
commit 459308b0a3

View file

@ -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