home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / IMPLIST.ZIP / SYMTYPES.H < prev   
Text File  |  1991-07-28  |  4KB  |  148 lines

  1. /*------------------------------------------------------------*/
  2. /* SYMTYPES.H    -  Symbolic Type Definitions.                */
  3. /*------------------------------------------------------------*/
  4.  
  5. /* AUTHOR
  6.  *
  7.  *     Stephen L. Reed, Stephen Reed Software.  
  8.  *
  9.  *
  10.  *         NET:        70401.3342@compuserve.com
  11.  *         BIX:        sreed
  12.  *         COMPUSERVE: 70401,3342
  13.  *
  14.  *
  15.  *         Your comments are appreciated!
  16.  *
  17.  *
  18.  * COPYRIGHT
  19.  *
  20.  *    Copyright (c) 1990-91  Stephen L. Reed.  All rights reserved.
  21.  *
  22.  *    Redistribution and use in source and binary forms are permitted
  23.  *    provided that the above copyright notice and this paragraph are
  24.  *    duplicated in all such forms and that any documentation,
  25.  *    advertising materials, and other materials related to such
  26.  *    distribution and use acknowledge that the software was developed
  27.  *    by Stephen L. Reed.
  28.  *
  29.  *    THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  30.  *    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  31.  *    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  32.  *
  33.  */
  34.  
  35. #if !defined (SYMTYPES_INCLUDED)
  36.  
  37.    #define SYMTYPES_INCLUDED
  38.  
  39.                /* Dynamic Link Library function type.         */
  40.    #if !defined (DLLFUN)
  41.       #define DLLFUN    pascal far _saveregs _loadds
  42.    #endif
  43.  
  44.    #if !defined (LINT_ARGS)
  45.       #define    LINT_ARGS   1           /* Enable Library type checking.  */
  46.    #endif
  47.  
  48.    #if !defined (FLOAT)
  49.       #define FLOAT     float
  50.    #endif
  51.  
  52.    #if !defined (DOUBLE)
  53.       #define DOUBLE    double
  54.    #endif
  55.  
  56. /*------------------------------------------------------------*/
  57. /* Windows compatible definitions.                            */
  58. /*------------------------------------------------------------*/
  59.  
  60.  
  61.    #if !defined (TRUE)
  62.       #define TRUE       1
  63.    #endif
  64.  
  65.    #if !defined (FALSE)
  66.       #define FALSE      0
  67.    #endif
  68.  
  69.    #if !defined (VOID)
  70.       #define VOID       void
  71.    #endif
  72.  
  73.  
  74.    #if !defined (FAR)
  75.       #define FAR        far
  76.    #endif
  77.  
  78.    #if !defined (NEAR)
  79.       #define NEAR       near 
  80.    #endif
  81.  
  82.    #if !defined (HUGE)
  83.       #define HUGE       huge 
  84.    #endif
  85.  
  86.    #if !defined (PASCAL)
  87.       #define PASCAL     pascal
  88.    #endif
  89.  
  90.    #if !defined (FASTCALL)
  91.       #define FASTCALL   _fastcall
  92.    #endif
  93.  
  94.    typedef unsigned long   DWORD ;
  95.  
  96.    typedef unsigned short  WORD ;
  97.  
  98.    typedef char *    PSTR ;
  99.  
  100.    typedef char NEAR *  NPSTR ;
  101.  
  102.    typedef char FAR *   LPSTR ;
  103.  
  104.    typedef int FAR *    LPINT ;
  105.  
  106. /*------------------------------------------------------------*/
  107. /* OS/2 compatible definitions.                               */
  108. /*------------------------------------------------------------*/
  109.  
  110.    #if !defined(OS2DEF_INCLUDED)
  111.  
  112.       typedef unsigned short        BOOL ;
  113.  
  114.       typedef unsigned char         BYTE ;
  115.  
  116.       typedef signed char           CHAR ;
  117.  
  118.       typedef signed short          SHORT ;
  119.  
  120.       typedef unsigned char         UCHAR ;
  121.  
  122.       typedef unsigned short        USHORT ;
  123.  
  124.       typedef unsigned long         ULONG ;
  125.  
  126.       typedef long                  LONG ;
  127.  
  128.       typedef unsigned char far *   PSZ ;
  129.  
  130.       typedef LONG FAR *            PLONG ;
  131.  
  132.       typedef CHAR FAR *            PCHAR ;
  133.  
  134.       typedef SHORT FAR *           PSHORT ;
  135.  
  136.       typedef UCHAR FAR *           PUCHAR ;
  137.  
  138.       typedef USHORT FAR *          PUSHORT ;
  139.  
  140.       typedef ULONG FAR *           PULONG ;
  141.  
  142.       typedef VOID FAR *            PVOID ;
  143.  
  144.    #endif
  145.  
  146. #endif
  147.  
  148.