113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
objc_method_not_found_stret(id obj, SEL sel)
{
return common_method_not_found(obj, sel, objc_msg_lookup_stret,
forward_handler_stret);
}
void
objc_setForwardHandler(IMP forward, IMP forward_stret)
{
forward_handler = forward;
forward_handler_stret = forward_stret;
}
bool
class_respondsToSelector(Class cls, SEL sel)
{
if (cls == Nil)
return false;
return (objc_dtable_get(cls->dtable, (uint32_t)sel->uid) != (IMP)0);
}
|
|
>
|
>
|
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
objc_method_not_found_stret(id obj, SEL sel)
{
return common_method_not_found(obj, sel, objc_msg_lookup_stret,
forward_handler_stret);
}
void
objc_setForwardHandler(IMP forward OBJC_M68K_REG("a0"),
IMP forward_stret OBJC_M68K_REG("a1"))
{
forward_handler = forward;
forward_handler_stret = forward_stret;
}
bool
class_respondsToSelector(Class cls OBJC_M68K_REG("a0"),
SEL sel OBJC_M68K_REG("a1"))
{
if (cls == Nil)
return false;
return (objc_dtable_get(cls->dtable, (uint32_t)sel->uid) != (IMP)0);
}
|