Mercurial > repos > blastem
comparison arena.h @ 883:9f149f0e98b7
It is now possible to switch back and forth between the menu ROM and the game
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Nov 2015 19:15:37 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
882:75453bf2ffac | 883:9f149f0e98b7 |
---|---|
1 /* | |
2 Copyright 2015 Michael Pavone | |
3 This file is part of BlastEm. | |
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | |
5 */ | |
6 #ifndef ARENA_H_ | |
7 #define ARENA_H_ | |
8 | |
9 typedef struct arena arena; | |
10 | |
11 arena *get_current_arena(); | |
12 arena *set_current_arena(arena *a); | |
13 arena *start_new_arena(); | |
14 void track_block(void *block); | |
15 void mark_all_free(); | |
16 void *try_alloc_arena(); | |
17 | |
18 #endif //ARENA_H_ |