Fumofumotris/rewrite/c/engine.c
2024-05-24 00:36:13 -05:00

20 lines
316 B
C

#include "fumocommon.h"
#include "allocator.h"
#include "controller.h"
#define ENGINE_HEAP_SIZE 262144
struct Instance {
struct Controller ctrl;
nsec time;
}
void CreateInstance(struct Instance *inst, void *heap, usize heap_size)
{
CreateController(&inst->ctrl, &inst->pool, 16);
struct Controller ctrl;
}