TurtleBrains  0.3.5
High quality, portable, C++ framework for rapid 2D game development.
tb_types.hpp
1 
9 #ifndef TurtleBrains_Types_hpp
10 #define TurtleBrains_Types_hpp
11 
12 #include <turtle_brains/core/tb_configuration.hpp>
13 #include <turtle_brains/core/tb_string.hpp>
14 
15 #include <cstdint>
16 
17 namespace TurtleBrains
18 {
19  namespace Core
20  {
21 
22  typedef int8_t int8;
23  typedef uint8_t uint8;
24  typedef uint8 byte;
25  typedef int16_t int16;
26  typedef uint16_t uint16;
27  typedef int32_t int32;
28  typedef uint32_t uint32;
29  typedef int64_t int64;
30  typedef uint64_t uint64;
31 
32  }; /* namespace Core */
33 }; /* namespace TurtleBrains */
34 
35 namespace tbCore = TurtleBrains::Core;
36 
37 #endif /* TurtleBrains_Types_hpp */
int64_t int64
Signed integer with a size of 64 bits. Supports values from -(2^63) to (2^63 - 1).
Definition: tb_types.hpp:29
uint16_t uint16
Unsigned integer with a size of 16 bits. Supports values from 0 to 65535.
Definition: tb_types.hpp:26
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
int32_t int32
Signed integer with a size of 32 bits. Supports values from -2147483648 to 2147483647.
Definition: tb_types.hpp:27
uint64_t uint64
Unsigned integer with a size of 64 bits, Supports values from 0 to (2^64 - 1).
Definition: tb_types.hpp:30
uint8 byte
Unsigned integer with 8 bits (1 byte). Supports 256 values from 0 to 255.
Definition: tb_types.hpp:24
int8_t int8
Signed integer with a size of 8 bits. Supports values from -128 to 127.
Definition: tb_types.hpp:22
uint8_t uint8
Unsigned integer with a size of 8 bits. Supports values from 0 to 255.
Definition: tb_types.hpp:23
int16_t int16
Signed integer with a size of 16 bits. Supports values from -32768 to 32767.
Definition: tb_types.hpp:25
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.hpp:28
Contains core functionality for each component of the API.
Definition: tb_debug_logger.hpp:88