blob: 724e5a13276d5b77c726a8bcafef8f90e58e12e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <stddef.h>
#include <stdint.h>
typedef ptrdiff_t size;
typedef char byte;
typedef uintptr_t uptr;
typedef int32_t i32;
typedef uint64_t u64;
typedef float f32;
#define sizeof(x) (size)sizeof(x)
#define countof(a) (sizeof(a) / sizeof(*(a)))
#define lengthof(s) (countof(s) - 1)
|