about summary refs log tree commit diff stats
path: root/arena.h
blob: 43ce053480cc38f3fae30bf69b589026b212a1e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#ifndef ARENA_H_
#define ARENA_H_

int
ar_setup(size_t total_size);

void *
ar_alloc(size_t object_size);

void
ar_free(void);

void
ar_cleanup(void);

#endif