eigenraven / derelict-mono

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
    ...
}

About

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

License:Boost Software License 1.0


Languages

Language:D 100.0%