Ende.DynamicLibrary

interface

interface Ende.DynamicLibrary<S extends ForeignLibraryInterface>

A dynamic library resource. Use Ende.dlopen to load a dynamic library and return this interface.

Properties

symbols

symbols: StaticForeignLibraryInterface<S>

All of the registered library along with functions for calling them.

Methods

close

close(): void

Removes the pointers associated with the library symbols.

Continuing to use symbols that are part of the library will lead to errors and crashes.

Calling this method will also immediately set any references to zero and will no longer keep Ende's process from exiting.