just make commit granularity 64 bit; it matches the expected usage pattern in a few spots

This commit is contained in:
Ryan Fleury
2024-11-13 12:18:48 -08:00
parent 4278f7db1e
commit b03c1766c6
3 changed files with 10 additions and 15 deletions
+3 -7
View File
@@ -7,16 +7,12 @@
////////////////////////////////
//~ rjf: Constants
#if ARENA_FREE_LIST
# define ARENA_HEADER_SIZE 128
#else
# define ARENA_HEADER_SIZE 64
#endif
#define ARENA_HEADER_SIZE 128
////////////////////////////////
//~ rjf: Types
typedef U32 ArenaFlags;
typedef U64 ArenaFlags;
enum
{
ArenaFlag_NoChain = (1<<0),
@@ -38,7 +34,7 @@ struct Arena
Arena *prev; // previous arena in chain
Arena *current; // current arena in chain
ArenaFlags flags;
U32 cmt_size;
U64 cmt_size;
U64 res_size;
U64 base_pos;
U64 pos;