@@ -193,58 +193,59 @@ typedef enum
193
193
/* *
194
194
* A signed 8-bit integer type.
195
195
*/
196
+ typedef int8_t Sint8;
196
197
#define SDL_MAX_SINT8 ((Sint8)0x7F ) /* 127 */
197
198
#define SDL_MIN_SINT8 ((Sint8)(~0x7F )) /* -128 */
198
- typedef int8_t Sint8;
199
199
200
200
/* *
201
201
* An unsigned 8-bit integer type.
202
202
*/
203
+ typedef uint8_t Uint8;
203
204
#define SDL_MAX_UINT8 ((Uint8)0xFF ) /* 255 */
204
205
#define SDL_MIN_UINT8 ((Uint8)0x00 ) /* 0 */
205
- typedef uint8_t Uint8;
206
206
207
207
/* *
208
208
* A signed 16-bit integer type.
209
209
*/
210
+ typedef int16_t Sint16;
210
211
#define SDL_MAX_SINT16 ((Sint16)0x7FFF ) /* 32767 */
211
212
#define SDL_MIN_SINT16 ((Sint16)(~0x7FFF )) /* -32768 */
212
- typedef int16_t Sint16;
213
213
214
214
/* *
215
215
* An unsigned 16-bit integer type.
216
216
*/
217
+ typedef uint16_t Uint16;
217
218
#define SDL_MAX_UINT16 ((Uint16)0xFFFF ) /* 65535 */
218
219
#define SDL_MIN_UINT16 ((Uint16)0x0000 ) /* 0 */
219
- typedef uint16_t Uint16;
220
220
221
221
/* *
222
222
* A signed 32-bit integer type.
223
223
*/
224
+ typedef int32_t Sint32;
224
225
#define SDL_MAX_SINT32 ((Sint32)0x7FFFFFFF ) /* 2147483647 */
225
226
#define SDL_MIN_SINT32 ((Sint32)(~0x7FFFFFFF )) /* -2147483648 */
226
- typedef int32_t Sint32;
227
227
228
228
/* *
229
229
* An unsigned 32-bit integer type.
230
230
*/
231
+ typedef uint32_t Uint32;
231
232
#define SDL_MAX_UINT32 ((Uint32)0xFFFFFFFFu ) /* 4294967295 */
232
233
#define SDL_MIN_UINT32 ((Uint32)0x00000000 ) /* 0 */
233
- typedef uint32_t Uint32;
234
234
235
235
/* *
236
236
* A signed 64-bit integer type.
237
237
*/
238
+ typedef int64_t Sint64;
238
239
#define SDL_MAX_SINT64 ((Sint64)0x7FFFFFFFFFFFFFFFll ) /* 9223372036854775807 */
239
240
#define SDL_MIN_SINT64 ((Sint64)(~0x7FFFFFFFFFFFFFFFll )) /* -9223372036854775808 */
240
- typedef int64_t Sint64;
241
241
242
242
/* *
243
243
* An unsigned 64-bit integer type.
244
244
*/
245
+ typedef uint64_t Uint64;
245
246
#define SDL_MAX_UINT64 ((Uint64)0xFFFFFFFFFFFFFFFFull ) /* 18446744073709551615 */
246
247
#define SDL_MIN_UINT64 ((Uint64)(0x0000000000000000ull )) /* 0 */
247
- typedef uint64_t Uint64;
248
+
248
249
249
250
/* @} */ /* Basic data types */
250
251
0 commit comments