home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
519b.lha
/
FZIFF
/
libraries.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-09
|
430b
|
24 lines
#include <functions.h>
#include <exec/types.h>
#include <exec/devices.h>
#include <intuition/intuition.h>
#include <ctype.h>
struct IntuitionBase *IntuitionBase = NULL;
void trash_libs(void)
{
if (IntuitionBase)
CloseLibrary(IntuitionBase);
}
void init_libs(void)
{
add_cleanup(trash_libs);
if (!(IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library",0L)))
panic("Can't open intuition.library");
}