Runtime.loadLibrary

void * loadLibrary()(const scope char[] name)

Locates a dynamic library with the supplied library name and dynamically loads it into the caller's address space. If the library contains a D runtime it will be integrated with the current runtime.

Parameters

nameThe name of the dynamic library to load.

Returns

A reference to the library or null on error.