home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / libs / bignum / examples / src / info.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-11  |  298 b   |  16 lines

  1. #define __USE_SYSBASE
  2. #include <proto/exec.h>
  3. #include <proto/BigNum.h>
  4.  
  5. __saveds int maine(void)
  6. {
  7.  struct ExecBase *SysBase;
  8.  struct Library *BigNumBase;
  9.  
  10.  SysBase=*((struct ExecBase **)4);
  11.  if(BigNumBase=OpenLibrary("BigNum.library",37))
  12.   BigNumInfo();
  13.  CloseLibrary(BigNumBase);
  14.  return(0);
  15. }
  16.