appconst.h

Go to the documentation of this file.
00001 /* Copyright (c) 2005 by John M. Boyer, All Rights Reserved.  Please see
00002  * License.txt for use and redistribution license. */
00003 #ifndef APPCONST_H
00004 #define APPCONST_H
00005 
00006 /* Copyright (c) 1997-2003 by John M. Boyer, All Rights Reserved.
00007         This code may not be reproduced in whole or in part without
00008         the written permission of the author. */
00009 
00010 /* When defined, prints out run-time stats on a number of subordinate
00011     routines in the embedder */
00012 
00013 //#define PROFILE
00014 #ifdef PROFILE
00015 #include "platformTime.h"
00016 #endif /*  */
00017 
00018 /* Some low-level functions are replaced by faster macros, except when debugging */
00019 
00020 #define SPEED_MACROS
00021 #ifdef _DEBUG
00022 #undef SPEED_MACROS
00023 #endif /*  */
00024 
00025 /* Return status values */
00026 
00027 #define OK              0
00028 #define NOTOK           -2
00029 #define NONEMBEDDABLE   -3
00030 
00031 /* Array indices are used as pointers, and this means bad pointer */
00032 
00033 #define NIL   -1
00034 #define NIL_CHAR  0xFF
00035 
00036 /* Defines fopen strings for reading and writing text files on PC and UNIX */
00037 
00038 #ifdef WINDOWS
00039 #define READTEXT        "rt"
00040 #define WRITETEXT       "wt"
00041 #else /*  */
00042 #define READTEXT        "r"
00043 #define WRITETEXT       "w"
00044 #endif /*  */
00045 
00046 #endif /*  */

Generated on Thu Oct 20 14:58:39 2005 for DominoParitySeparator by  doxygen 1.4.5