home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d2xx / d260 / cclib.lha / CCLib / CClib.zoo / include / heapmem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-16  |  286 b   |  25 lines

  1. #ifndef HEAPMEM_H
  2. #define HEAPMEM_H 1
  3.  
  4. typedef long ALIGN;   /* forces long word alignment */
  5.  
  6. union header
  7. {
  8. struct
  9.    {
  10.    union header *ptr;
  11.    unsigned long size;
  12.    } s;
  13. ALIGN x;
  14. };
  15.  
  16. typedef union header HEADER;
  17.  
  18. typedef struct
  19. {
  20. void *ptr;
  21. unsigned long size;
  22. } LastFree;
  23.  
  24. #endif
  25.