#ifndef MyTypes_H
#define MyTypes_H

#include "FunPtr.h"

/*** Types a la Pascal ***/
typedef unsigned int Word ;
typedef unsigned char Char ;
typedef enum { False=0,True=1,Yes=True,No=False } boolean ;
typedef double Real ;

/*** Constants ***/
#ifndef NULL
#  define NULL	((void*) 0L)
#endif
#define NULLFUN { NULL, NULL }

/*** Other types ***/
typedef char Name ;			/* so (Name*) is (char*) */
typedef FunPtr0(void,void*) Procedure ;	/* procedure with no explicit param */
typedef enum { LesserThan=-1, 
	       EqualTo=0,
	       GreaterThan=1,
	       Different=2
	     } CompareResult ;

/*** special for TURBOC ***/
#ifndef __TURBOC__	/* if using optimizing Turbo C, cdecl sometimes */
#  define cdecl         /* necessary to avoid register calling convention */
#endif

#endif /* EOF MyTypes.h */
