#pragma once #include #include #include typedef uint32_t uint32; typedef int32_t int32; typedef uint64_t uint64; typedef int64_t int64; typedef uintptr_t uintptr; typedef uint16_t uint16; typedef int16_t int16; typedef uint8_t uint8; typedef int8_t int8; typedef size_t usize; typedef _Bool bool; #define TRUE (1) #define FALSE (0) #define ASM_F __attribute__((cdecl)) #define PACKED __attribute__((packed)) #define PRAGMA_PACKED __attribute__((packed)) #define ALIGN(type, num, align) (((type)(num) + ((type)align - 1)) & ~((type)align - 1)) #define UNREFERENCED(x) {(x) = (x);}