diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
| commit | 50a227058a8d72f1fb885458b882cedb0e0d7f79 (patch) | |
| tree | c68e86810a6036645278b707430532d9f767c7cc /new/uipriv.h | |
| parent | d9315e6d8f528840dd396fbbeb96cb22c8a5df98 (diff) | |
Changed the allocation logging from a compile-time setting to the first initialization option.
Diffstat (limited to 'new/uipriv.h')
| -rw-r--r-- | new/uipriv.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 <stdlib.h> #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 )) |
