summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-04-13 01:48:47 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-04-13 01:48:47 -0400
commitd3df35312cb9caf96ab787a4ee3db2c356060e7e (patch)
tree2cadc5aa7492db0e742ebcc75a874a8034dbe730 /allocator.c
parent3f80b6f659fe7480e537246ea79fbf6a0ec43031 (diff)
cleaned up struct member access with struct[member_as_string] by replacing it with struct.member
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c
index 8baedb5..75bdac6 100644
--- a/allocator.c
+++ b/allocator.c
@@ -25,7 +25,7 @@ static void *err_malloc(size_t bytes);
static void *err_calloc(size_t n, size_t sz);
static void *err_realloc(void *prev, size_t new_size);
#ifdef TOC_DEBUG
-#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */
+//#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */
#endif
/* number of bytes a page hold, not including the header */
#define PAGE_BYTES (16384 - sizeof(Page))