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

    Interface TypedFFIFunction<TArgs, TRet>

    Strongly-typed FFI function returned by CDLL.func when the argument types and return type are given as a literal tuple and constant respectively.

    Args and return are narrowed from the supplied CType constructors. Falls back to the untyped FFIFunction when types cannot be inferred.

    interface TypedFFIFunction<
        TArgs extends readonly FFIType[],
        TRet extends FFIType | null,
    > {
        callAsync(...args: FFIArgs<TArgs>): Promise<FFIReturn<TRet>>;
        funcName: string;
        address: bigint;
        _as_parameter_: bigint;
        errcheck: ErrcheckCallback;
        (...args: FFIArgs<TArgs>): FFIReturn<TRet>;
    }

    Type Parameters

    Index
    funcName: string
    address: bigint
    _as_parameter_: bigint