Update release notes for v2.0.0
[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, David Rosenboom
10 **
11 ** Permission to use, copy, modify, and/or distribute this
12 ** software for any purpose with or without fee is hereby granted.
13 **
14 ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
15 ** WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
16 ** WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
17 ** THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
18 ** CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
19 ** FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
20 ** CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 ** OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 **
23 ***************************************************************/
24
25 /***************************************************************
26 ** Type Declarations
27 ***************************************************************/
28
29 #if !defined(AMIGA) && !defined(ATARI)
30 #include <sys/types.h>
31 #endif
32
33 /* file_offset_t is used in place of off_t */
34 typedef long file_offset_t;
35
36 #ifndef Err
37     typedef long Err;
38 #endif
39
40 typedef char  ForthString;
41 typedef char *ForthStringPtr;
42
43 #endif /* _pf_types_h */