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