home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / 52capi.zip / CLIPDEFS.H < prev    next >
C/C++ Source or Header  |  1993-06-10  |  2KB  |  91 lines

  1. /***
  2. *
  3. *   Clipdefs.h
  4. *
  5. *   C language defines and types for CA-Clipper
  6. *
  7. *   Copyright (c) 1992-1993, Computer Associates International, Inc.
  8. *   All rights reserved.
  9. *
  10. *   Clipper uses Microsoft C large model calling conventions.
  11. *
  12. */
  13.  
  14. #ifndef _CLIPDEFS_H
  15.  
  16. /* 
  17. *  old types 
  18. */
  19. typedef unsigned char byte;
  20. typedef unsigned short quant;
  21. typedef unsigned short Boolean;
  22.  
  23. /* 
  24. *  newest and most wonderful types 
  25. */
  26. typedef unsigned char BYTE;
  27. typedef BYTE far * BYTEP;
  28. typedef BYTEP PBYTE;
  29.  
  30. typedef BYTEP far * BYTEPP;
  31.  
  32. typedef short SHORT;
  33. typedef SHORT far * SHORTP;
  34. typedef SHORTP PSHORT;
  35.  
  36. typedef unsigned short USHORT;
  37. typedef USHORT far * USHORTP;
  38. typedef USHORTP PUSHORT;
  39.  
  40. typedef unsigned int WORD;
  41. typedef WORD far * WORDP;
  42. typedef WORDP PWORD;
  43.  
  44. typedef long LONG;
  45. typedef LONG far * LONGP;
  46. typedef LONGP PLONG;
  47.  
  48. typedef unsigned long ULONG;
  49. typedef ULONG far * ULONGP;
  50. typedef ULONGP PULONG;
  51.  
  52. typedef unsigned long DWORD;
  53. typedef DWORD far * DWORDP;
  54. typedef DWORDP PDWORD;
  55.  
  56.  
  57. typedef USHORT BOOL;
  58. typedef BOOL far * BOOLP;
  59. typedef BOOLP PBOOL;
  60.  
  61. typedef USHORT HANDLE;
  62.  
  63. typedef USHORT ERRCODE;
  64. typedef ERRCODE IHELP;
  65. typedef ERRCODE ICODE;
  66.  
  67. /* default func ptr -- USHORT return, USHORT param */
  68. typedef USHORT (far * FUNCP)(USHORT param, ...);
  69. typedef FUNCP far * FUNCPP;
  70.  
  71. typedef void near * NEARP;
  72. typedef NEARP far * NEARPP;
  73.  
  74. typedef void far * FARP;
  75. typedef FARP far * FARPP;
  76.  
  77. typedef FARP VOIDP;
  78. typedef FARP PVOID;
  79.  
  80. #define HIDE      static
  81. #define CLIPPER   void pascal
  82.                
  83. #define FALSE      0
  84. #define TRUE       1
  85. #define NIL     '\0'
  86. #define NULL      0L
  87.  
  88. #define _CLIPDEFS_H
  89.  
  90. #endif
  91.