home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_07 / MARK_WC2.LZH / INCLUDE / CANON.H < prev    next >
Text File  |  1988-04-27  |  594b  |  23 lines

  1. /*
  2.  * canon.h -- canonical conversion routines for the M68000.
  3.  *
  4.  * Copyright (c) 1981-1987, Mark Williams Company, Chicago
  5.  * This file and its contents may not be copied or distributed
  6.  * without permission.
  7.  */
  8.  
  9. int    _canw();
  10. long    _canl();
  11.  
  12. #define    canshort(i)    ((i)=_canw(i))
  13. #define    canint(i)    ((i)=_canw(i))
  14. #define    canlong(l)    ((l)=_canl(l))
  15. #define    canvaddr(v)    ((v)=_canl(v))
  16. #define    cansize(s)    ((s)=_canl(s))
  17. #define    candaddr(d)    ((d)=_canl(d))
  18. #define    cantime(t)    ((t)=_canl(t))
  19. #define    candev(d)    ((d)=_canw(d))
  20. #define    canino(i)    ((i)=_canw(i))
  21.  
  22. /* End of canon.h */
  23.