types.h 481 B

123456789101112131415161718192021222324252627
  1. /* $Header$ */
  2. #ifndef TEM_WSIZE
  3. TEM_WSIZE should be defined at this point
  4. #endif
  5. #ifndef TEM_PSIZE
  6. TEM_PSIZE should be defined at this point
  7. #endif
  8. #if TEM_WSIZE>4 || TEM_PSIZE>4
  9. Implementation will not be correct unless a long integer
  10. has more then 4 bytes of precision.
  11. #endif
  12. typedef char byte;
  13. typedef char * string;
  14. #if TEM_WSIZE>2 || TEM_PSIZE>2
  15. #define full long
  16. #else
  17. #define full int
  18. #endif
  19. #if TEM_WSIZE>2
  20. #define word long
  21. #else
  22. #define word int
  23. #endif