How to use std. packages in so files written in dlang

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 11 18:09:47 PDT 2016


On Friday, 12 August 2016 at 00:57:42 UTC, grampus wrote:

it's 'cause you didn't initialized druntime. you have to use 
dlsym to get "rt_init" function and call it right after loading 
your .so, but before calling any other API from it.

also, note that druntime is using SIGUSR1 and SIGUSR2 for it's 
internal housekeeping, so don't use this signals in your C++ code.


More information about the Digitalmars-d-learn mailing list