Haskell calling D code through the FFI
safety0ff via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 4 14:48:39 PDT 2014
On Monday, 4 August 2014 at 21:35:21 UTC, Jon wrote:
> I get Error: core.runtime.rt_init is private. And Error:
> core.runtime.init is not accessible.
>
I would add them to the header and Haskell wrapper
(FunctionsInD.h and ToD.hs.)
The signatures are:
int rt_init();
int rt_term();
When it is linked it will find the symbols in druntime.
More information about the Digitalmars-d-learn
mailing list