20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
-
+
|
#import "ObjFW_RT.h"
#import "private.h"
#import "macros.h"
void
glue___objc_exec_class(void *module OBJC_M68K_REG("a0"))
{
glue___objc_exec_class(module);
__objc_exec_class(module);
}
IMP
glue_objc_msg_lookup(id obj OBJC_M68K_REG("a0"), SEL sel OBJC_M68K_REG("a1"))
{
return objc_msg_lookup(obj, sel);
}
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
+
+
+
+
+
+
+
+
+
+
+
+
|
}
id
glue_objc_getRequiredClass(const char *name OBJC_M68K_REG("a0"))
{
return objc_getRequiredClass(name);
}
Class
glue_objc_lookup_class(const char *name OBJC_M68K_REG("a0"))
{
return objc_lookup_class(name);
}
Class
glue_objc_get_class(const char *name OBJC_M68K_REG("a0"))
{
return objc_get_class(name);
}
void
glue_objc_exception_throw(id object OBJC_M68K_REG("a0"))
{
objc_exception_throw(object);
OF_UNREACHABLE
|