blob: 49940143b8a107d491e2219d665b34c71134e654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <stdint.h>
#include <stdio.h>
#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;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef float f32;
typedef double f64;
#define ERROR_SIZE INT64_MAX
|