81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
{
static bool initialized = false;
struct objc_libc libc = {
.malloc = malloc,
.calloc = calloc,
.realloc = realloc,
.free = free,
.vfprintf = vfprintf,
.fflush = fflush,
#ifdef OF_AMIGAOS_M68K
.vsnprintf = vsnprintf,
#endif
.abort = abort,
#ifdef HAVE_SJLJ_EXCEPTIONS
._Unwind_SjLj_RaiseException = _Unwind_SjLj_RaiseException,
#else
._Unwind_RaiseException = _Unwind_RaiseException,
#endif
._Unwind_DeleteException = _Unwind_DeleteException,
._Unwind_GetLanguageSpecificData =
|
<
<
<
<
<
<
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
{
static bool initialized = false;
struct objc_libc libc = {
.malloc = malloc,
.calloc = calloc,
.realloc = realloc,
.free = free,
#ifdef HAVE_SJLJ_EXCEPTIONS
._Unwind_SjLj_RaiseException = _Unwind_SjLj_RaiseException,
#else
._Unwind_RaiseException = _Unwind_RaiseException,
#endif
._Unwind_DeleteException = _Unwind_DeleteException,
._Unwind_GetLanguageSpecificData =
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
.__deregister_frame_info = __deregister_frame_info,
#endif
#ifdef OF_MORPHOS
.__register_frame = __register_frame,
.__deregister_frame = __deregister_frame,
#endif
.get_errno = get_errno,
};
if (initialized)
return;
if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB,
OBJFWRT_LIB_MINOR)) == NULL) {
|
>
>
>
>
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
.__deregister_frame_info = __deregister_frame_info,
#endif
#ifdef OF_MORPHOS
.__register_frame = __register_frame,
.__deregister_frame = __deregister_frame,
#endif
.get_errno = get_errno,
#ifdef OF_AMIGAOS_M68K
.vsnprintf = vsnprintf,
#endif
.abort = abort,
};
if (initialized)
return;
if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB,
OBJFWRT_LIB_MINOR)) == NULL) {
|