--- Comment #1 from Andrej Mitrovic <> 2012-10-02 
16:53:34 PDT ---
I'd like to fix this myself. But I'm not sure how this should be exposed in the
Runtime struct. Should it be two properties, 'argc' and 'argv', or a single
property such as the following, in core.runtime:

extern (C) CArgs rt_cArgs();

static @property string[] cArgs()
    return rt_cArgs();

and in src\rt\dmain2.d:
struct CArgs
    int argc
    char** argv;

__gshared CArgs _cArgs = null;

extern (C) string[] rt_cArgs()
    return _cArgs;

extern (C) int main(int argc, char** argv)
    _cArgs.argc = argc;
    _cArgs.argv = argv;


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to