On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote: > So basically I have to create wrapper.c ? Yes, but you should write it in D. Runtime initialization is at https://dlang.org/phobos/core_runtime.html#.Runtime