home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / DiceC / include / lib / bcpl.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  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.