liblibrary.so.
Import
API Reference
load()
dlopen() on the given library. Returns a bigint handle.
close()
dlclose() on the library handle.
defineFunction()
dlsym() and registers its type signature.
callBySig()
callMixed()
dlsym() + type dispatch in a single call.
callString()
const char*.
readCString()
callPtr()
dlsym().
getSymbolPtr()
createCallback()
destroyCallback()
invokeCallback()
getCallbackThreadsafe()
getCallbackPtr()
- Non-threadsafe: returns the slot handle
- Threadsafe: returns a real executable trampoline address