home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / LL_DEFS.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  922b  |  25 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*  ======================================================================
  4.     DEFINES.h       Standard definitions etc.
  5.                     For simplification or for debugging substitution.
  6.  
  7.                     v1.02  94-08-11  Stripped version.
  8.  
  9.  _____              This version is Public Domain.
  10.  /_|__|             A.Reitsma, Delft, Nederland.
  11. /  | \  --------------------------------------------------------------- */
  12.  
  13. #ifndef LL_DEFS__H
  14. #define LL_DEFS__H
  15.  
  16. #include <stdlib.h>         /* for malloc() prototype */
  17. #include <string.h>         /* for memcpy() prototype */
  18.  
  19. #define MALLOC(size,type)   (type *) malloc( (size) * sizeof( type ))
  20. #define FREE(mem)           free( mem )
  21. #define CALLOC(size,type)   (type *) calloc( (size), sizeof( type))
  22.  
  23. #endif /* LL_DEFS__H */
  24. /*  === DEFINES.h end ================================================= */
  25.