Shared library with C API

Etienne Cimon via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon May 26 05:51:01 PDT 2014


On 2014-05-26 02:16, Kai Nacke wrote:
> There is even a recipe in
> the new D Cookbook on this topic (chapter 4, "Write part of a C proram
> in D").

I'm waiting to get my copy ;)

 > Don't forget to initialize the D runtime from your C/C++ program.

Would that mean I have to call rt_init() at the start of every function?


More information about the digitalmars-d-ldc mailing list