On 2013-04-08 13:21, Jacob Carlborg wrote:
The C main function defined in druntime forward to the D main function. The C main function calls "_d_run_main" and passes in a pointer to the D main function. "_d_run_main" then calls the d main function. Indirectly the C main forwards to D main.
Forgot the link: https://github.com/D-Programming-Language/druntime/blob/master/src/rt/dmain2.d#L348 -- /Jacob Carlborg
