Interfacing via Java Native Interface

Jacob Carlborg doob at me.com
Wed Oct 16 04:01:32 PDT 2013


On 2013-10-16 12:53, Andrew wrote:

> Wow, thanks! Now everything works, proving that my guess on
> uninitialized runtime was correct.
> It's actually Runtime.initialize() according to documentation, by the way.

If you're calling it from C it might be more correct to call this function:

https://github.com/D-Programming-Language/druntime/blob/master/src/rt/dmain2.d#L161

It's what Runtime.initialize calls.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list