/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* STDDEFS.H Alan Partis */ /* Copyright (C) AP MicroSystems, Inc */ /* 1993 All rights reserved. */ /* */ /* Description: Header file containing common types and definitions. */ /* */ /* Contents: */ /* */ /* Date Initials Comments */ /* ----------------------------------------------------------------------- */ /* 04 Sep 93 acp Initial Creation */ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef _STDDEFS_H #define _STDDEFS_H // // standard types // typedef unsigned char byte; typedef unsigned int word; typedef unsigned long dword; // // standard macro constants // #define BEEP() putch(0x07) #define HIBYTE(x) ((byte)(x >> 8)) #define LOBYTE(x) ((byte)(x & 0x00FF)) #define EOL '\n' #define NULL_STR "" #define SPACE ' ' #define SUCCESS 1 #define PASS 1 #define FAIL 0 #define TRUE 1 #define FALSE 0 #define YES 1 #define NO 0 #ifndef NULL #define NULL 0L #endif #endif
Copyright © Thundernet Development Group Inc., 2003. All rights reserved. |