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

    Interface ParamFlag

    Single entry in a paramflags array: describes direction (in/out), parameter name, and optional default value for that slot.

    Python ctypes parity: the tuple form (flag, name[, default]) used with prototype((name, lib), paramflags).

    interface ParamFlag {
        dir: "in" | "out" | "inout";
        name: string;
        default?: any;
    }
    Index
    dir: "in" | "out" | "inout"

    OUT allocates a pointee; INOUT uses and returns the supplied instance.

    name: string

    Parameter name, used for the named-call form fn({ name: value, ... }).

    default?: any

    Optional default value; applied when the caller omits this in param.