#pragma once #include #include #ifndef __cplusplus #if (__STDC_VERSION__ < 202000L) typedef enum bool : uint8_t { false = 0, true = 1 } bool; #endif #endif typedef struct SizedString { char *str; size_t size; } SizedString; #define ERROR_SIZE INT64_MAX