Fix method_setImplementation bug.

main
theraven 13 years ago
parent 58a574b34f
commit aad22cb092

@ -570,7 +570,7 @@ IMP method_setImplementation(Method method, IMP imp)
{
if (NULL == method) { return (IMP)NULL; }
IMP old = (IMP)method->imp;
method->imp = old;
method->imp = imp;
objc_updateDtableForClassContainingMethod(method);
return old;
}

Loading…
Cancel
Save