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

    Type Alias LibraryNamespace<T>

    LibraryNamespace: { [libName: string]: T } & {
        LoadLibrary(name: string, options?: number | LibraryOptions): T;
    }

    Lazy library namespace: attribute access loads (and caches) the library, LoadLibrary(name) always creates a new instance.

    Python equivalent: ctypes.LibraryLoader instances (cdll, windll, ...)

    Type Parameters

    Type Declaration

    • [libName: string]: T
    • LoadLibrary: function
      • Load a library (new instance each time). Python: cdll.LoadLibrary(name).

        Parameters

        Returns T