68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
-
-
-
-
-
-
|
extern void __register_frame(void *);
extern void __deregister_frame(void *);
#endif
struct Library *ObjFWRTBase;
void *__objc_class_name_Protocol;
static int *
get_errno(void)
{
return &errno;
}
static void
error(const char *string, ULONG arg)
{
struct Library *IntuitionBase = OpenLibrary("intuition.library", 0);
if (IntuitionBase != NULL) {
struct EasyStruct easy = {
|
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
+
+
+
+
+
+
|
EasyRequest(NULL, &easy, NULL, arg);
CloseLibrary(IntuitionBase);
}
exit(EXIT_FAILURE);
}
static int *
get_errno(void)
{
return &errno;
}
static void __attribute__((__used__))
ctor(void)
{
static bool initialized = false;
struct objc_libc libc = {
.malloc = malloc,
|