Construct a DynamicLib from a manually obtained DynamicLibHandle.
Construct a DynamicLib with the library name.
Calls the function named functionName from this dynamic library.
Closes native handle and makes the struct unassociated.
Returns the address of a symbol named symbolName or null if it is not found.
Returns the address of a symbol named symbolName.
Returns the reference to the variable named varName from this dynamic library.
Returns whether this is associated with a dynamic library handle. It is asserted that no member functions are called for an unassociated DynamicLib struct.
Gets native handle of the associated dynamic library.
Returns whether handle of the associated dynamic library will be closed on destruction.
This struct encapsulates functionality for working with dynamic libraries.
This struct is neither default constructable nor copyable. Pass it by ref to functions or use $(STDREF typecons, RefCounted).