mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(mframe_do_call): When getting the instance method, just use
object->class_pointer, not object_get_class(), because object_get_class() of a class will return the argument, not the metaclass---we want the metaclass. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1337 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2b688a5ea
commit
18a8b28a16
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ mframe_do_call (const char *encoded_types,
|
|||
#else
|
||||
{
|
||||
Method_t m;
|
||||
m = class_get_instance_method (object_get_class (object),
|
||||
m = class_get_instance_method (object->class_pointer,
|
||||
selector);
|
||||
NSCParameterAssert (m);
|
||||
type = m->method_types;
|
||||
|
|
Loading…
Reference in a new issue