Differences From Artifact [b142ca0e6c]:
- File
src/runtime/lookup.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 4665) [annotate] [blame] [check-ins using] [more...]
To Artifact [5175096ba7]:
- File
src/runtime/lookup.m
— part of check-in
[79011c5f56]
at
2017-06-07 21:38:21
on branch trunk
— runtime: Move all globals into a single struct
This is required to create a .library on MorphOS. (user: js, size: 4723) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | Class isa; } + (BOOL)resolveClassMethod: (SEL)selector; + (BOOL)resolveInstanceMethod: (SEL)selector; @end | > | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | Class isa; } + (BOOL)resolveClassMethod: (SEL)selector; + (BOOL)resolveInstanceMethod: (SEL)selector; @end #import "globals.h" #define forward_handler objc_globals.forward_handler #define forward_handler_stret objc_globals.forward_handler_stret static IMP common_method_not_found(id obj, SEL sel, IMP (*lookup)(id, SEL), IMP forward) { /* * obj might be a dummy object (see class_getMethodImplementation), so * don't access obj directly unless it's a class! |
︙ | ︙ |