~tim/malcc

aaf71b347786737426191cc97de49a343978360e — Tim Morgan 5 years ago 3a60e49
Fix bug in mal_assert macro
2 files changed, 2 insertions(+), 1 deletions(-)

M .gitignore
M util.h
M .gitignore => .gitignore +1 -0
@@ 12,5 12,6 @@ stepA_mal
malcc
mal-in-mal
mal-in-mal.c
mal-in-mal.dSYM
*.o
history.txt

M util.h => util.h +1 -1
@@ 8,7 8,7 @@

#define UNUSED(x) (void)(x)

#define mal_assert(val, message) if (!(val)) { return mal_error(message); }
#define mal_assert(val, message) if (!(val)) { return mal_error(mal_string(message)); }

char* long_long_to_string(long long num);
size_t num_char_len(long long num);