call method

bool call(
  1. Pointer<Void> arg0,
  2. NSTableView arg1,
  3. NSTableColumn? arg2
)

Implementation

bool call(
  ffi.Pointer<ffi.Void> arg0,
  NSTableView arg1,
  NSTableColumn? arg2,
) =>
    ref.pointer.ref.invoke
        .cast<
          ffi.NativeFunction<
            ffi.Bool Function(
              ffi.Pointer<objc.ObjCBlockImpl> block,
              ffi.Pointer<ffi.Void> arg0,
              ffi.Pointer<objc.ObjCObject> arg1,
              ffi.Pointer<objc.ObjCObject> arg2,
            )
          >
        >()
        .asFunction<
          bool Function(
            ffi.Pointer<objc.ObjCBlockImpl>,
            ffi.Pointer<ffi.Void>,
            ffi.Pointer<objc.ObjCObject>,
            ffi.Pointer<objc.ObjCObject>,
          )
        >()(
      ref.pointer,
      arg0,
      arg1.ref.pointer,
      arg2?.ref.pointer ?? ffi.nullptr,
    );