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 LINUX_ENV
00117 #define SPAPI
00118 #endif
00119
00120 #ifdef WIN_ENV
00121 #define SPAPI
00122 #endif
00123
00124
00125 #ifdef MAC_ENV
00126
00128 typedef unsigned char SPBoolean;
00129
00130 #endif
00131
00132
00133 #ifdef WIN_ENV
00134
00136 typedef int SPBoolean;
00137
00138 #endif
00139
00140 #ifdef LINUX_ENV
00141 typedef unsigned char SPBoolean;
00142 #endif
00143
00144 typedef signed long SPInt32;
00145
00146
00147
00148
00149
00150
00151
00168 typedef ai::int32 SPErr;
00169
00170
00171 #include "SPErrorCodes.h"
00172
00173 #endif
00174
00175 #include "SPHeaderEnd.h"
00176
00177 #endif