00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00025 #ifndef __SPTypes__
00026 #define __SPTypes__
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include "SPConfig.h"
00036 #include "AIBasicTypes.h"
00037
00038 #include "SPHeaderBegin.h"
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053 #ifdef OTHER_SP_TYPES_H
00054 #include OTHER_SP_TYPES_H
00055 #else
00056
00057
00058
00059
00060
00061
00062
00063
00064 #ifdef __cplusplus
00065 #undef TRUE
00066 #define TRUE true
00067
00068 #undef FALSE
00069 #define FALSE false
00070 #else
00071 #ifndef TRUE
00072 #define TRUE 1
00073 #endif
00074
00075 #ifndef FALSE
00076 #define FALSE 0
00077 #endif
00078 #endif
00079
00080 #ifndef NULL
00081
00082 #ifdef MAC_ENV
00083 #if !defined(__cplusplus) && (defined(__SC__) || defined(THINK_C))
00084 #define NULL ((void *) 0)
00085 #else
00086 #define NULL 0
00087 #endif
00088 #endif
00089
00090 #ifdef WIN_ENV
00091 #ifdef __cplusplus
00092 #define NULL 0
00093 #else
00094 #define NULL ((void *)0)
00095 #endif
00096 #endif
00097
00098 #endif
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112 #ifdef MAC_ENV
00113 #define SPAPI
00114 #endif
00115
00116 #ifdef WIN_ENV
00117 #define SPAPI
00118 #endif
00119
00120
00121 #ifdef MAC_ENV
00122
00124 typedef unsigned char SPBoolean;
00125
00126 #endif
00127
00128
00129 #ifdef WIN_ENV
00130
00132 typedef int SPBoolean;
00133
00134 #endif
00135
00136 typedef signed long SPInt32;
00137
00138
00139
00140
00141
00142
00143
00160 typedef ai::int32 SPErr;
00161
00162
00163 #include "SPErrorCodes.h"
00164
00165 #endif
00166
00167 #include "SPHeaderEnd.h"
00168
00169 #endif