aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
blob: af5e820619b6299e5713cd039c2cbfc0960f608b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef FVM_UTILS_H_
#define FVM_UTILS_H_

#include <stdlib.h>

struct allocator;
typedef struct allocator *Allocator;

Allocator newAllocator();
void deleteAllocator(Allocator allocator);

void* allocate(Allocator allocator, size_t size);

#endif // FVM_UTILS_H_