366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
if (initialized)
return;
if ((ObjFWBase = OpenLibrary(OBJFW_AMIGA_LIB, OBJFW_LIB_MINOR)) == NULL)
error("Failed to open " OBJFW_AMIGA_LIB " version %lu!",
OBJFW_LIB_MINOR);
if (!OFInit(1, &libC, __sF))
error("Failed to initialize " OBJFW_AMIGA_LIB "!", 0);
initialized = true;
}
static void __attribute__((__used__))
dtor(void)
|
|
|
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
if (initialized)
return;
if ((ObjFWBase = OpenLibrary(OBJFW_AMIGA_LIB, OBJFW_LIB_MINOR)) == NULL)
error("Failed to open " OBJFW_AMIGA_LIB " version %lu!",
OBJFW_LIB_MINOR);
if (!OFInit(1, &libC))
error("Failed to initialize " OBJFW_AMIGA_LIB "!", 0);
initialized = true;
}
static void __attribute__((__used__))
dtor(void)
|