comparison helper/helper.h @ 0:5695ef413be0

Initialized mono repo with bazels with few examples.
author June Park <parkjune1995@gmail.com>
date Tue, 23 Sep 2025 10:05:25 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:5695ef413be0
1 #ifndef JUNE_HELPER
2 #define JUNE_HELPER
3
4 #include <stdlib.h> // only for malloc, free, stuff
5 #include "./helper_internal.h"
6
7 typedef struct {
8 char *buffer;
9 size_t offset;
10 size_t capacity;
11 } Areana, *PArena;
12
13 void ArenaIntialize(PArena p_arena, size_t capacity);
14 void *ArenaAllocate(PArena p_arena, size_t size);
15 void *ArenaFree(PArena p_arena);
16
17 #endif