rntviewer/src/types.h

21 lines
355 B
C
Raw Normal View History

2024-07-10 15:48:23 +00:00
using u8 = uint8_t;
using u16 = uint16_t;
using u32 = uint32_t;
using u64 = uint64_t;
using f32 = float;
using f64 = double;
using b8 = bool;
2024-07-10 17:38:16 +00:00
using b32 = int32_t;
2024-07-10 15:48:23 +00:00
using b32x = int;
2024-07-10 18:11:42 +00:00
using i8 = int8_t;
2024-07-10 15:48:23 +00:00
using i32 = int32_t;
using i64 = int64_t;
2024-07-10 17:38:16 +00:00
#define internal static
2024-07-10 18:11:42 +00:00
#define max(a, b) ((a) > (b)) ? (a) : (b)
#define min(a, b) ((a) < (b)) ? (a) : (b)