Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

core.internal.entrypoint

This module contains the code for C main and any call(s) to initialize the D runtime and call D main.
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
template _d_cmain()
A template containing C main and any call(s) to initialize druntime and call D main. Any module containing a D main function declaration will cause the compiler to generate a mixin _d_cmain(); statement to inject this code into the module.