Interface: DlopenResult<T>
Extends
Disposable
Type Parameters
T
T extends Record<string, DlopenSymbol>
Properties
symbols
symbols: { [K in string | number | symbol as T[K]["optional"] extends true ? never : K]: MapSymbolToJsValue<T[K]> } & { [K in string | number | symbol as T[K]["optional"] extends true ? K : never]?: MapSymbolToJsValue<T[K]> }
Object containing a callable function for each declared function
symbol, and a Pointer for each declared data symbol. An entry
declared optional is absent when its symbol did not resolve.
Methods
close()
close():
void
Close the shared library handle. Aliased as Symbol.dispose, so
using lib = dlopen(...) closes it at scope exit.
Returns
void