medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5755e41c42aaf7f1e33f171c03411dfe1e95aa60
parent 03b20bfac8d4f25bdc3920039889d589ac6746a4
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Aug 16 19:34:32 +0200

Make reserve_persistent inline until I do a better job of it

Diffstat:
game.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/game.h b/game.h @@ -22,7 +22,7 @@ struct GameMemory { u8 * persistent; }; -u8 * reserve_persistent( GameMemory & mem, const size_t size ) { +inline u8 * reserve_persistent( GameMemory & mem, const size_t size ) { assert( mem.persistent_used + size <= mem.persistent_size ); assert( mem.persistent_used + size > mem.persistent_used );