Imported Upstream version 21
[debian/pforth] / csrc / pf_types.h
1 /* @(#) pf_types.h 96/12/18 1.3 */
2 #ifndef _pf_types_h
3 #define _pf_types_h
4
5 /***************************************************************
6 ** Type declarations for PForth, a Forth based on 'C'
7 **
8 ** Author: Phil Burk
9 ** Copyright 1994 3DO, Phil Burk, Larry Polansky, Devid Rosenboom
10 **
11 ** The pForth software code is dedicated to the public domain,
12 ** and any third party may reproduce, distribute and modify
13 ** the pForth software code or any derivative works thereof
14 ** without any compensation or license.  The pForth software
15 ** code is provided on an "as is" basis without any warranty
16 ** of any kind, including, without limitation, the implied
17 ** warranties of merchantability and fitness for a particular
18 ** purpose and their equivalents under the laws of any jurisdiction.
19 **
20 ***************************************************************/
21
22 /***************************************************************
23 ** Type Declarations
24 ***************************************************************/
25
26 #ifndef int32
27         typedef signed long int32;
28 #endif
29 #ifndef uint32
30         typedef unsigned long uint32;
31 #endif
32 #ifndef int16
33         typedef signed short int16;
34 #endif
35 #ifndef uint16
36         typedef unsigned short uint16;
37 #endif
38 #ifndef int8
39         typedef signed char int8;
40 #endif
41 #ifndef uint8
42         typedef unsigned char uint8;
43 #endif
44 #ifndef Err
45         typedef long Err;
46 #endif
47
48 typedef uint32 ExecToken;              /* Execution Token */
49 typedef int32  cell;
50 typedef uint32 ucell;
51 typedef cell  *dicptr;
52
53 typedef char ForthString;
54 typedef char *ForthStringPtr;
55
56
57
58 #endif /* _pf_types_h */