X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/1cb310e62eaf4422ee298d9d87c35f9dd6b4c71c..92f564237b44db2747f921d2f31d071f8217fdd9:/csrc/pf_types.h diff --git a/csrc/pf_types.h b/csrc/pf_types.h index 52ad9f7..6e0ea75 100644 --- a/csrc/pf_types.h +++ b/csrc/pf_types.h @@ -1,35 +1,40 @@ -/* @(#) pf_types.h 96/12/18 1.3 */ -#ifndef _pf_types_h -#define _pf_types_h - -/*************************************************************** -** Type declarations for PForth, a Forth based on 'C' -** -** Author: Phil Burk -** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom -** -** The pForth software code is dedicated to the public domain, -** and any third party may reproduce, distribute and modify -** the pForth software code or any derivative works thereof -** without any compensation or license. The pForth software -** code is provided on an "as is" basis without any warranty -** of any kind, including, without limitation, the implied -** warranties of merchantability and fitness for a particular -** purpose and their equivalents under the laws of any jurisdiction. -** -***************************************************************/ - -/*************************************************************** -** Type Declarations -***************************************************************/ - -#ifndef Err - typedef long Err; -#endif - -typedef cell_t *dicptr; - -typedef char ForthString; -typedef char *ForthStringPtr; - -#endif /* _pf_types_h */ +/* @(#) pf_types.h 96/12/18 1.3 */ +#ifndef _pf_types_h +#define _pf_types_h + +/*************************************************************** +** Type declarations for PForth, a Forth based on 'C' +** +** Author: Phil Burk +** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom +** +** The pForth software code is dedicated to the public domain, +** and any third party may reproduce, distribute and modify +** the pForth software code or any derivative works thereof +** without any compensation or license. The pForth software +** code is provided on an "as is" basis without any warranty +** of any kind, including, without limitation, the implied +** warranties of merchantability and fitness for a particular +** purpose and their equivalents under the laws of any jurisdiction. +** +***************************************************************/ + +/*************************************************************** +** Type Declarations +***************************************************************/ + +#if !defined(AMIGA) && !defined(ATARI) +#include +#endif + +/* file_offset_t is used in place of off_t */ +typedef long file_offset_t; + +#ifndef Err + typedef long Err; +#endif + +typedef char ForthString; +typedef char *ForthStringPtr; + +#endif /* _pf_types_h */