SimpleDllMain

A mixin to provide a DllMain which calls the necessary D runtime initialization and termination functions automatically.

version(Windows)
mixin template SimpleDllMain () {}

Examples

module dllmain;
import core.sys.windows.dll;
mixin SimpleDllMain;

Meta