refactor
This commit is contained in:
+10
-1
@@ -3,10 +3,19 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <variant>
|
||||
|
||||
|
||||
/// @brief dynamic integer type (64 bit signed integer)
|
||||
using integer_t = int64_t;
|
||||
/// @brief dynamic floating-point type (64 bit floating point)
|
||||
using number_t = double;
|
||||
/// @brief dynamic numeric types union (integer and floating-point)
|
||||
using number_u = std::variant<integer_t, number_t>;
|
||||
|
||||
using uint = unsigned int;
|
||||
|
||||
// use for bytes arrays
|
||||
/// @brief use for bytes arrays
|
||||
using ubyte = uint8_t;
|
||||
|
||||
// content indices
|
||||
|
||||
Reference in New Issue
Block a user