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

    Type Alias ErrcheckCallback

    ErrcheckCallback: (result: any, func: CallableFunction, args: any[]) => any

    Callback for intercepting function return values.

    Python equivalent: func.errcheck

    Type Declaration

      • (result: any, func: CallableFunction, args: any[]): any
      • Parameters

        • result: any

          The raw return value

        • func: CallableFunction

          The function that was called

        • args: any[]

          The arguments that were passed

        Returns any

        The (possibly transformed) return value