home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
projmot_453.lzh
/
ProjMot
/
src
/
glibunload.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-18
|
695b
|
27 lines
/*
* glibunload.c
* ~~~~~~~~~~~~~~~~~~
* unloads libraries intuition, graphics and req., math and trig
* © Copyright 1991 Christian E. Hopps
*/
#include <intuition/intuition.h>
#include <graphics/gfxbase.h>
#include <libraries/reqbase.h>
#include <libraries/mathffp.h>
extern struct IntuitionBase *IntuitionBase;
extern struct GfxBase *GfxBase;
extern struct ReqLib *ReqBase;
extern struct Library *MathBase;
extern struct Library *MathTransBase;
void GLibUnload()
{
if(MathTransBase) CloseLibrary(MathTransBase);
if(MathBase) CloseLibrary(MathBase);
if(IntuitionBase) CloseLibrary(IntuitionBase);
if(GfxBase) CloseLibrary(GfxBase);
if(ReqBase) CloseLibrary(ReqBase);
}