Made on Kubuntu
00001 // Copyright (C) 2009-2010 Ferdinand Majerech 00002 // This file is part of MiniINI 00003 // For conditions of distribution and use, see copyright notice in LICENSE.txt 00004 00005 #ifndef TYPEDEFS_H_INCLUDED 00006 #define TYPEDEFS_H_INCLUDED 00007 00008 #include <stdint.h> 00009 00010 namespace miniini_private 00011 { 00012 00014 //int typedefs 00015 //Typedefs for fastest ints 00016 typedef uint_fast8_t ub; 00017 typedef int_fast8_t b; 00018 typedef uint_fast16_t us; 00019 typedef int_fast16_t s; 00020 typedef uint_fast32_t ui; 00021 typedef int_fast32_t i; 00022 typedef int_fast64_t ll; 00023 typedef uint_fast32_t ull; 00024 00025 //Typedefs for chars 00026 typedef char c; 00027 typedef wchar_t wc; 00028 00029 //Typedefs for exact size ints 00030 typedef int8_t s8; 00031 typedef uint8_t u8; 00032 typedef int16_t s16; 00033 typedef uint16_t u16; 00034 typedef int32_t s32; 00035 typedef uint32_t u32; 00036 typedef int64_t s64; 00037 typedef uint64_t u64; 00038 00039 //Typedefs for biggest ints 00040 typedef intmax_t sbig; 00041 typedef uintmax_t ubig; 00042 00043 //Typedefs for floats 00044 typedef float f; 00045 typedef double d; 00046 typedef long double ld; 00048 00049 } 00050 #endif // TYPEDEFS_H_INCLUDED