Commit | Line | Data |
---|---|---|
8e9db35f PB |
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, David 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 | ||
4d9c915d PB |
26 | #ifndef AMIGA |
27 | #include <sys/types.h> | |
28 | #endif | |
29 | ||
30 | /* file_offset_t is used in place of off_t */ | |
31 | typedef long file_offset_t; | |
32 | ||
8e9db35f PB |
33 | #ifndef Err |
34 | typedef long Err; | |
35 | #endif | |
36 | ||
37 | typedef char ForthString; | |
38 | typedef char *ForthStringPtr; | |
39 | ||
40 | #endif /* _pf_types_h */ |