54 std::swap (handle,
other.handle);
85 void* handle =
nullptr;
Holds a resizable array of primitive or copy-by-value objects.
Handles the opening and closing of DLLs.
void * getFunction(const String &functionName) noexcept
Tries to find a named function in the currently-open DLL, and returns a pointer to it.
DynamicLibrary(DynamicLibrary &&other) noexcept
Move constructor.
~DynamicLibrary()
Destructor.
void * getNativeHandle() const noexcept
Returns the platform-specific native library handle.
bool open(const String &name)
Opens a DLL.
DynamicLibrary()=default
Creates an unopened DynamicLibrary object.
void close()
Releases the currently-open DLL, or has no effect if none was open.
#define JUCE_API
This macro is added to all JUCE public class declarations.