home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_07_08 / v7n8076a.txt < prev    next >
Text File  |  1989-10-02  |  366b  |  20 lines

  1.  
  2.  
  3. *****Listing 7*****
  4.  
  5.  
  6. production version of the code:
  7.  
  8.      getspace.h
  9.      #ifdef DEBUG
  10.      extern void * getspace(char * where, unsigned size);
  11.      extern void   freespace(char * where, void * what);
  12.      #else
  13.      #define getspace(where,size)  ((void *)malloc(size))
  14.      #define freespace(where,what) free(what)
  15.      #endif
  16.  
  17.  
  18. **********
  19.  
  20.