summaryrefslogtreecommitdiff
path: root/new/uipriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'new/uipriv.h')
-rw-r--r--new/uipriv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/new/uipriv.h b/new/uipriv.h
index ccd72e8..30fca00 100644
--- a/new/uipriv.h
+++ b/new/uipriv.h
@@ -2,6 +2,10 @@
#include <stdlib.h>
#include "ui.h"
+#include <stdio.h>
+#define LOGALLOC(p, ty) fprintf(stderr, "%p %s ALLOC\n", p, #ty );
+#define LOGFREE(p, ty) fprintf(stderr, "%p %s FREE\n", p, #ty );
+
typedef struct uiSize uiSize;
typedef struct uiSizing uiSizing;