summaryrefslogtreecommitdiff
path: root/arena.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
commit802454482c2843234a19a06f6acce360e0be3d60 (patch)
tree5b64111a903c93c75789390121965c055da45dd9 /arena.h
parent3834192b16663bb4bf5098df5b7a053e9c9dd086 (diff)
It is now possible to switch back and forth between the menu ROM and the game
Diffstat (limited to 'arena.h')
-rw-r--r--arena.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arena.h b/arena.h
new file mode 100644
index 0000000..26a9555
--- /dev/null
+++ b/arena.h
@@ -0,0 +1,18 @@
+/*
+ Copyright 2015 Michael Pavone
+ This file is part of BlastEm.
+ BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
+*/
+#ifndef ARENA_H_
+#define ARENA_H_
+
+typedef struct arena arena;
+
+arena *get_current_arena();
+arena *set_current_arena(arena *a);
+arena *start_new_arena();
+void track_block(void *block);
+void mark_all_free();
+void *try_alloc_arena();
+
+#endif //ARENA_H_