/derelict-mono

Dynamic binding of the Mono Runtime C API to the D Programming Language

Primary LanguageDBoost Software License 1.0BSL-1.0

DerelictMono

Dub version

Dynamic and static bindings to version 5.0 of the Mono Runtime for the D Programming Language. It can be used for embedding a Common Language Runtime in D.

Please see the pages Building and Linking Derelict and Using Derelict, in the Derelict documentation, for information on how to build DerelictMono and load Mono at run time. Please also look at DerelictGLFW3 documentation to see how to use the static bindings, the subconfiguration is named derelict-mono-static. In the meantime, here's some sample code.

import derelict.mono.mono;

void main()
{
    // Load the Mono library.
    DerelictMono.load();

    // Now Mono functions can be called.
    ...
}