home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d911
/
psm.lha
/
PSM
/
Source
/
source.lha
/
gadoutlinelib.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-28
|
691b
|
29 lines
void __regargs __autoopenfail(char *);
#include <proto/exec.h>
struct Library *GadOutlineBase ;
static void *libbase;
extern long __gadoutlinever;
void __stdargs _STI_opengadoutline(void)
{
GadOutlineBase = libbase =
(void *)OpenLibrary("gadoutline.library", __gadoutlinever);
if(GadOutlineBase == NULL)
GadOutlineBase = libbase =
(void *)OpenLibrary("PROGDIR:gadoutline.library", __gadoutlinever);
if (GadOutlineBase == NULL)
__autoopenfail("gadoutline.library");
}
void __stdargs _STD_closegadoutline(void)
{
if (libbase)
{
CloseLibrary((struct Library *)libbase);
libbase = GadOutlineBase = NULL;
}
}