home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / languages / dice_443 / dice.lzh / include / lib / bcpl.h < prev    next >
C/C++ Source or Header  |  1990-08-02  |  249b  |  16 lines

  1.  
  2. /*
  3.  *  LIB/BCPL.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _LIB_BCPL_H
  9. #define _LIB_BCPL_H
  10.  
  11. #define BTOC(bptr, type)  ((type *)((long)(bptr) << 2))
  12. #define CTOB(cptr)  ((BPTR)((unsigned long)(cptr) >> 2))
  13.  
  14. #endif
  15.  
  16.