node-ctypes - v2.10.0
    Preparing search index...

    Class Library

    Low-level native library handle.

    For most use cases, prefer CDLL or WinDLL instead.

    Index
    path: string

    Library file path.

    loaded: boolean

    Whether the logical library handle is open (not a physical-unload probe).

    • Get the address of a symbol in the library.

      Parameters

      • name: string

        Symbol name

      Returns bigint

      Address as BigInt

    • Logically close the library. Functions obtained from it throw when called afterwards. Throws while a call to one of its functions is in progress (from a callback, or a pending callAsync()). Existing in_dll() views and dependent memory remain valid and defer native handle release until their last owner is collected. Physical unloading depends on the OS loader; musl keeps modules resident.

      Returns void