From 50a227058a8d72f1fb885458b882cedb0e0d7f79 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 22:38:11 -0400 Subject: Changed the allocation logging from a compile-time setting to the first initialization option. --- new/uipriv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'new/uipriv.h') diff --git a/new/uipriv.h b/new/uipriv.h index c42cbb0..f028590 100644 --- a/new/uipriv.h +++ b/new/uipriv.h @@ -2,8 +2,7 @@ #include #include "ui.h" -// uncomment the following line to enable memory logging; see leaks.awk -#define uiLogAllocations +extern uiInitOptions options; extern void *uiAlloc(size_t, const char *); #define uiNew(T) ((T *) uiAlloc(sizeof (T), #T )) -- cgit v1.2.3