home *** CD-ROM | disk | FTP | other *** search
/ PCMania 10 / Pcmania_Ep2_10_CD-01.iso / ARTICULOS / tecnologia / DLOCK2.ZIP / DEF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-02  |  605 b   |  32 lines

  1. /* def.h -- definitions of type names.
  2.    This file is in the Public Domain.
  3. */
  4.  
  5. // Null pointer is probably already defined.
  6.  
  7. #if !defined(NULL)
  8. #define NULL ((void *) 0L)
  9. #endif
  10.  
  11. // Internal calling convention.
  12. #ifdef UNIX
  13. #define CALLTYPE 
  14. #define PASCAL
  15. #else
  16. #define CALLTYPE _fastcall
  17. #define PASCAL _pascal
  18. #endif
  19.  
  20. #define false (0)
  21. #define true (1)
  22.  
  23. typedef int boolean;
  24. typedef int BOOL;
  25. typedef unsigned char byte;
  26. typedef unsigned char BYTE;
  27. typedef unsigned int uint;
  28. typedef unsigned int UINT;
  29. typedef unsigned long int ulong;
  30. typedef unsigned long int DWORD;
  31.  
  32.