kubo/kubo_context.h

23 lines
487 B
C

#ifndef KUBO_CONTEXT_H
#define KUBO_CONTEXT_H
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "kubo_dynarray.h"
#include "kubo_wall.h"
KUBO_DYNARRAY_REGISTER(kubo_wall_arr, struct kubo_wall *);
struct kubo_context {
bool exit_pending;
struct kubo_wall_arr walls;
};
struct kubo_context *kubo_context_init();
void kubo_context_cleanup(struct kubo_context *context);
struct kubo_wall *kubo_context_get_pending_wall(struct kubo_context *context);
#endif