home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / PMM / Developer / autostarts_src / GateXprBase.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-22  |  326 b   |  18 lines

  1. #include <exec/libraries.h>
  2. #include <proto/exec.h>
  3.  
  4. struct Library *GateXprBase = NULL;
  5. extern unsigned long _GateXprBaseVer;
  6.  
  7. void _INIT_5_GateXprBase()
  8. {
  9.   if (!(GateXprBase = OpenLibrary("GateXpr.library",_GateXprBaseVer)))
  10.     exit(20);
  11. }
  12.  
  13. void _EXIT_5_GateXprBase()
  14. {
  15.   if (GateXprBase)
  16.     CloseLibrary(GateXprBase);
  17. }
  18.