home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 4
/
AACD04.ISO
/
AACD
/
Programming
/
MMULib
/
VBCC
/
Developer
/
LibSrc
/
MMUBase.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1999-10-04
|
290 b
|
18 lines
#include <exec/libraries.h>
#include <proto/exec.h>
struct Library *MMUBase = NULL;
extern unsigned long _MMUBaseVer;
void _INIT_5_MMUBase()
{
if (!(MMUBase = OpenLibrary("mmu.library",_MMUBaseVer)))
exit(20);
}
void _EXIT_5_MMUBase()
{
if (MMUBase)
CloseLibrary(MMUBase);
}