aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authoramy <[email protected]>2023-04-18 19:28:29 -0500
committeramy <[email protected]>2023-04-18 19:28:29 -0500
commit4930a32c4409d8825ac4fbb54595e473f6242cd8 (patch)
tree122f000104762b503d03ecb42bee4888321cc47b /src/util.h
parent11564889bbdde63d445227df4f2dd4e77ae9f9fb (diff)
better logging, less leaks i think
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5a730f3..7e900a7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -6,6 +6,10 @@
#include "string.h"
#define greater(a,b) (a>b?a:b)
#define lesser(a,b) (a>b?b:a)
+#define malloc(X) malloc(X); mmalloc();
+void mmalloc();
+#define free(X) free(X); ffree();
+void ffree();
void err_m(char*,void (*)(int),char*,int);
void warn_m(char*,char*,int ,...);
void info_m(char*,char*,int ,...);