aboutsummaryrefslogtreecommitdiff
path: root/main.c
blob: 3d23212af6e893eb798872ff9d5d857876f4c457 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

/*
Inspirations:
- https://nullprogram.com/
*/
#include <assert.h>
#include <stddef.h>
#include <stdint.h>

#include "memory.h"
#include "string.h"
#include "vec.h"

#define sizeof(x) (size)sizeof(x)
#define countof(a) (sizeof(a) / sizeof(*(a)))
#define lengthof(s) (countof(s) - 1)

typedef struct {
  int age;
} User;

int main() { return 0; }