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/init_darwin.m | |
| parent | d9315e6d8f528840dd396fbbeb96cb22c8a5df98 (diff) | |
Changed the allocation logging from a compile-time setting to the first initialization option.
Diffstat (limited to 'new/init_darwin.m')
| -rw-r--r-- | new/init_darwin.m | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
