14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "ObjFWRT.h"
#import "private.h"
#import "macros.h"
#include <proto/exec.h>
#include <proto/intuition.h>
struct ObjFWRTBase;
#import "inline.h"
|
|
>
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "ObjFWRT.h"
#import "amiga-library.h"
#import "macros.h"
#import "private.h"
#include <proto/exec.h>
#include <proto/intuition.h>
struct ObjFWRTBase;
#import "inline.h"
|
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
return;
if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB,
OBJFWRT_LIB_MINOR)) == NULL)
error("Failed to open " OBJFWRT_AMIGA_LIB " version %lu!",
OBJFWRT_LIB_MINOR);
if (!glue_objc_init(1, &libc, stdout, stderr))
error("Failed to initialize " OBJFWRT_AMIGA_LIB "!", 0);
initialized = true;
}
static void __attribute__((__used__))
dtor(void)
|
|
|
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
return;
if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB,
OBJFWRT_LIB_MINOR)) == NULL)
error("Failed to open " OBJFWRT_AMIGA_LIB " version %lu!",
OBJFWRT_LIB_MINOR);
if (!glue_objc_init(1, &libc, __sF))
error("Failed to initialize " OBJFWRT_AMIGA_LIB "!", 0);
initialized = true;
}
static void __attribute__((__used__))
dtor(void)
|