navit  0.5.3-trunk
types.h
Go to the documentation of this file.
1 
20 #ifndef NAVIT_TYPES_H
21 #define NAVIT_TYPES_H
22 #include <stdint.h>
23 
24 typedef int8_t s8;
25 typedef uint8_t u8;
26 typedef int16_t s16;
27 typedef uint16_t u16;
28 typedef int32_t s32;
29 typedef uint32_t u32;
30 
31 #ifdef HAVE_API_WIN32_BASE
32 #define ULONGLONG_FMT "%I64u"
33 #define LONGLONG_FMT "%I64d"
34 #define LONGLONG_HEX_FMT "%I64x"
35 #else
36 #define ULONGLONG_FMT "%llu"
37 #define LONGLONG_FMT "%lld"
38 #define LONGLONG_HEX_FMT "%llx"
39 #endif
40 
41 
42 #endif
uint8_t u8
Definition: types.h:25
int8_t s8
Definition: types.h:24
int16_t s16
Definition: types.h:26
uint16_t u16
Definition: types.h:27
int32_t s32
Definition: types.h:28
uint32_t u32
Definition: types.h:29