Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.6 KiB

  1. #ifndef _INSIGNIA_H
  2. #define _INSIGNIA_H
  3. /*
  4. * Name: insignia.h
  5. * Derived from: HP 2.0 insignia.h
  6. * Author: Philippa Watson (amended Dave Bartlett)
  7. * Created on: 23 January 1991
  8. * SccsID: @(#)insignia.h 1.2 03/11/91
  9. * Purpose: This file contains the definition of the Insignia
  10. * standard types and constants for the NT/WIN32
  11. * SoftPC.
  12. *
  13. * (c)Copyright Insignia Solutions Ltd., 1991. All rights reserved.
  14. */
  15. /*
  16. * Insignia Standard Types
  17. *
  18. * Note that the EXTENDED type is the same as the DOUBLE type for the
  19. * HP because there is no difference between the double and long double
  20. * fundamental types, it's an ANSI compiler feature.
  21. */
  22. #define VOID void /* Nothing */
  23. typedef char TINY; /* 8-bit signed integer */
  24. typedef unsigned char UTINY; /* 8-bit unsigned integer */
  25. #ifdef ANSI
  26. typedef long double EXTENDED; /* >64-bit floating point */
  27. #else
  28. typedef double EXTENDED; /* >64-bit floating point */
  29. #endif
  30. /*
  31. * Insignia Standard Constants
  32. */
  33. #ifndef FALSE
  34. #define FALSE ((BOOL) 0) /* Boolean falsehood value */
  35. #define TRUE (!FALSE) /* Boolean truth value */
  36. #endif
  37. #ifndef NULL
  38. #define NULL (0L) /* Null pointer value */
  39. #endif
  40. #ifndef BOOL
  41. #define BOOL UINT
  42. #endif
  43. /*
  44. * Insignia Standard Storage Classes
  45. */
  46. #define GLOBAL /* Defined as nothing */
  47. #define LOCAL static /* Local to the source file */
  48. #define SAVED static /* For local static variables */
  49. #define IMPORT extern /* To refer from another file */
  50. #define FORWARD /* to refer from the same file */
  51. #define FAST register /* High-speed Storage */
  52. #endif /* _INSIGNIA_H */