Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#endif // ARENA_BACKEND

typedef struct Region Region;
typedef struct Arena Arena;

struct Region {
Region *next;
Expand All @@ -53,9 +54,9 @@ struct Region {
uintptr_t data[];
};

typedef struct {
struct Arena {
Region *begin, *end;
} Arena;
};

typedef struct {
Region *region;
Expand Down