20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
-
-
-
-
-
-
-
-
-
|
#include <stdio.h>
#include <stdlib.h>
#import "ObjFW_RT.h"
#import "private.h"
#import "macros.h"
@interface DummyObject
{
Class isa;
}
+ (bool)resolveClassMethod: (SEL)selector;
+ (bool)resolveInstanceMethod: (SEL)selector;
@end
static IMP forwardHandler = (IMP)0;
static IMP stretForwardHandler = (IMP)0;
static IMP
commonMethodNotFound(id object, SEL selector, IMP (*lookup)(id, SEL),
IMP forward)
{
|