summaryrefslogtreecommitdiff
path: root/mem/framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'mem/framer.h')
-rw-r--r--mem/framer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mem/framer.h b/mem/framer.h
index 6d7034b..e2a6945 100644
--- a/mem/framer.h
+++ b/mem/framer.h
@@ -5,6 +5,8 @@
#include "allocator.h"
+/* Represents a free frame as part of the freelist, this is done
+ in order to avoid having to do annoying casts */
typedef struct mem_framer_freed {
struct mem_framer_freed *next;
} MemFramerFreed;
@@ -24,7 +26,7 @@ typedef struct mem_framer {
the freelist
NOTE: the freelist is a singly-linked list comprising
all frames that have been previously allocated
- and then freed */
+ and then freed */
MemFramerFreed *free;
/* The size of a frame. This value also defines the alignment