SharedLib.load

Loads an OS-specific shared library.

Note: Please use this function instead of the constructor, which is private.

class SharedLib
static
load

Parameters

path const(char)[]

The path to a shared library to be loaded

mode LoadMode

Library loading mode. See LoadMode

Return Value

Type: SharedLib

A SharedLib instance being a handle to the library, or throws SharedLibException if it could not be loaded

Meta