Module.load

Loads a module from the given path.

This function has more "smarts" than the constructor, and will transform the incoming path to find the library in question.

This includes things like looking up macOS bundles, and the like.

class Module
@nogc static
load
(
string pathOrName
)

Parameters

pathOrName string

Path to; or name of the module to load.

Return Value

Type: Module

A new module, or null if the module failed to load.

Meta