diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 22:54:21 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 22:54:21 -0400 |
| commit | 3fc36ec58228f244f841f6ff8953cbbbfea9f350 (patch) | |
| tree | 59b410a383167a1afd5f6920d73f02033114e07d /new/window_darwin.m | |
| parent | 33b1c29de87a8fa9b5b1d67668730173bb2873ee (diff) | |
More allocation logging. I wonder if I can just log directly in the allocators themselves...
Diffstat (limited to 'new/window_darwin.m')
| -rw-r--r-- | new/window_darwin.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/new/window_darwin.m b/new/window_darwin.m index 8beb008..a5f1b2d 100644 --- a/new/window_darwin.m +++ b/new/window_darwin.m @@ -40,6 +40,7 @@ uiWindow *uiNewWindow(char *title, int width, int height) uiWindow *w; w = (uiWindow *) uiAlloc(sizeof (uiWindow)); +LOGALLOC(w, uiWindow) w->w = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, (CGFloat) width, (CGFloat) height) styleMask:(NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask) |
