On 21/06/15 16:09, Sean Campbell wrote:

extern(C++) void d_initialize() {
      Runtime.initialize();
}
extern(C++) void d_terminate()
{
      Runtime.terminate();
}

These two functions are not necessary. There are already functions in druntime which are supposed to be called from C/C++:

extern (C) bool rt_init();
extern (C) bool rt_term();

--
/Jacob Carlborg

Reply via email to