diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-29 11:32:42 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-29 11:32:42 -0500 |
commit | 7cced2c313c94d1fb8736581840dff00708aabf1 (patch) | |
tree | e4a29cac17f46f03a57addc14d049dff32927692 /allocator.c | |
parent | a970f5f91b6f90acab60d05d1f5f92d059248e95 (diff) |
new foreign system working like old one did now
Diffstat (limited to 'allocator.c')
-rw-r--r-- | allocator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c index cf747ab..fae828a 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)) |