_d_run_main

Sets up the D char[][] command-line args, initializes druntime, runs embedded unittests and then runs the given D main() function, optionally catching and printing any unhandled exceptions.

extern (C)
int
_d_run_main
(
int argc
,
char** argv
,
MainFunc mainFunc
)

Meta