On 2013-10-28 19:00, Steve Teale wrote:

That sounds a bit implausible. New language keyword or something to load
a library or object file. My best guess is that extern(C) dlopen() will
just work correctly, failing that I'd think we need an equivalent Phobos
call.

Sorry, I wasn't very clear. The correct function to use is core.runtime.Runtime.loadLibrary:

https://github.com/D-Programming-Language/druntime/blob/master/src/core/runtime.d#L178

--
/Jacob Carlborg

Reply via email to