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



--- Comment #7 from Andrej Mitrovic <[email protected]> 2013-10-08 
10:20:03 PDT ---
(In reply to comment #6)
> BTW, I don't that adding args/cArgs was a good idea in the first place.

Some libraries require the C arguments during initialization routines. If you
try to initialize such a library in a module constructor then core.runtime is
the only way of getting to the main() arguments.

(In reply to comment #6)
> how is mutating args reflected in main's args and vice versa.

It's not reflected since a copy is made in _d_run_main. But I guess this should
be documented.

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

Reply via email to