Mercurial > libjeffpc
diff error.c @ 583:761ed4ccdc85
error: assertion failures should grab the function name
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Wed, 17 Oct 2018 13:00:05 -0400 |
parents | 15b3b9cb1f37 |
children | 4a442510d4b6 |
line wrap: on
line diff
--- a/error.c Wed Oct 17 12:56:56 2018 -0400 +++ b/error.c Wed Oct 17 13:00:05 2018 -0400 @@ -120,7 +120,7 @@ assertion_failed(a, f, l); } -void jeffpc_assfail(const char *a, const char *f, int l) +void jeffpc_assfail(const char *a, const char *f, int l, const char *fxn) { libops.assfail(a, f, l); @@ -145,7 +145,7 @@ } void jeffpc_assfail3(const char *a, uintmax_t lv, const char *op, uintmax_t rv, - const char *f, int l) + const char *f, int l, const char *fxn) { libops.assfail3(a, lv, op, rv, f, l);