[Issue 11149] Runtime.args no longer available in static constructors.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 25 08:59:09 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11149



--- Comment #19 from Jacob Carlborg <doob at me.com> 2013-10-25 08:59:00 PDT ---
BWT, I forgot to mention this. If I recall correctly,_NSGetArgv and _NSGetArgc
are private functions. That means, they are not allowed in sandboxed
applications, that is, applications in App Store, both on Mac OS X and iOS. I
don't know if this is something we would like to care about. On the other hand
we already use _NSGetEnviron in std.process. But all of these are mentioned in
the documentation of NSApplicationMain, here:

https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Miscellaneous/AppKit_Functions/Reference/reference.html#//apple_ref/c/func/NSApplicationMain

Question, how is the runtime initialized now? I mean, is it initialized in a
shared module constructor?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list