src/libs/alibxx/base_types.hpp
raw| 1 | #pragma once |
| 2 | |
| 3 | #include "alibxx.hpp" |
| 4 | #include <stdint.h> |
| 5 | |
| 6 | |
| 7 | namespace A_LIB_NAMESPACE{ |
| 8 | |
| 9 | namespace Type{ |
| 10 | |
| 11 | |
| 12 | // signed type |
| 13 | |
| 14 | typedef int8_t Byte; |
| 15 | |
| 16 | typedef int16_t Int16; |
| 17 | |
| 18 | typedef int32_t Int32; |
| 19 | |
| 20 | typedef int64_t Int64; |
| 21 | |
| 22 | // unsigned bytes |
| 23 | |
| 24 | typedef u_int8_t UByte; |
| 25 | |
| 26 | typedef u_int16_t UInt16; |
| 27 | |
| 28 | typedef u_int32_t UInt32; |
| 29 | |
| 30 | typedef u_int64_t UInt64; |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | } // Type |
| 37 | |
| 38 | |
| 39 | } // Alibxx Namespace |