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/init_darwin.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'new/init_darwin.m') diff --git a/new/init_darwin.m b/new/init_darwin.m index b251b47..4a3d2db 100644 --- a/new/init_darwin.m +++ b/new/init_darwin.m @@ -20,8 +20,11 @@ // TODO applicationShouldTerminateAfterLastWindowClosed +uiInitOptions options; + uiInitError *uiInit(uiInitOptions *o) { + options = *o; [uiApplication sharedApplication]; // don't check for a NO return; something (launch services?) causes running from application bundles to always return NO when asking to change activation policy, even if the change is to the same activation policy! // see https://github.com/andlabs/ui/issues/6 -- cgit v1.2.3