Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef OPEN_KARTO_TYPES_H
00019 #define OPEN_KARTO_TYPES_H
00020
00021 #include <cstddef>
00022
00027 #if defined(_MSC_VER)
00028
00029 typedef signed __int8 kt_int8s;
00030 typedef unsigned __int8 kt_int8u;
00031
00032 typedef signed __int16 kt_int16s;
00033 typedef unsigned __int16 kt_int16u;
00034
00035 typedef signed __int32 kt_int32s;
00036 typedef unsigned __int32 kt_int32u;
00037
00038 typedef signed __int64 kt_int64s;
00039 typedef unsigned __int64 kt_int64u;
00040
00041 #else
00042
00043 #include <stdint.h>
00044
00045 typedef int8_t kt_int8s;
00046 typedef uint8_t kt_int8u;
00047
00048 typedef int16_t kt_int16s;
00049 typedef uint16_t kt_int16u;
00050
00051 typedef int32_t kt_int32s;
00052 typedef uint32_t kt_int32u;
00053
00054 #if defined(__LP64__)
00055 typedef signed long kt_int64s;
00056 typedef unsigned long kt_int64u;
00057 #else
00058 typedef signed long long kt_int64s;
00059 typedef unsigned long long kt_int64u;
00060 #endif
00061
00062 #endif
00063
00064 typedef bool kt_bool;
00065 typedef char kt_char;
00066 typedef float kt_float;
00067 typedef double kt_double;
00068
00069 #endif // OPEN_KARTO_TYPES_H