2023-07-22 14:30:04 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-08-02 09:05:26 +00:00
|
|
|
// Pre-C23 keyword macros
|
2023-07-22 14:30:04 +00:00
|
|
|
#define static_assert _Static_assert
|
2023-07-23 15:33:12 +00:00
|
|
|
|
2023-08-02 09:05:26 +00:00
|
|
|
// Stdint and a layer on top
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2023-07-22 14:30:04 +00:00
|
|
|
// Short type definitions
|
|
|
|
typedef int8_t i8;
|
|
|
|
typedef uint8_t u8;
|
|
|
|
typedef int16_t i16;
|
|
|
|
typedef uint16_t u16;
|
|
|
|
typedef int32_t i32;
|
|
|
|
typedef uint32_t u32;
|
|
|
|
typedef int64_t i64;
|
|
|
|
typedef uint64_t u64;
|
2023-08-02 09:05:26 +00:00
|
|
|
|
|
|
|
// Other commonly-used standard includes
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|