Differences From Artifact [107b957fe8]:
- File
src/runtime/lookup.m
— part of check-in
[fe2cbe0021]
at
2018-04-22 16:13:04
on branch trunk
— runtime: Define BOOL to be the same as bool
As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. (user: js, size: 4681) [annotate] [blame] [check-ins using] [more...]
To Artifact [61e54bb565]:
- File src/runtime/lookup.m — part of check-in [2d8aa8b1e6] at 2018-04-29 19:26:23 on branch trunk — runtime: Specify m68k registers for most functions (user: js, size: 4769) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
113 114 115 116 117 118 119 | objc_method_not_found_stret(id obj, SEL sel) { return common_method_not_found(obj, sel, objc_msg_lookup_stret, forward_handler_stret); } void | | > | > | 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); } |
︙ | ︙ |