call method

NSRange call(
  1. Pointer<Void> arg0,
  2. NSPoint arg1
)

Implementation

NSRange call(ffi.Pointer<ffi.Void> arg0, NSPoint arg1) => ref
    .pointer
    .ref
    .invoke
    .cast<
      ffi.NativeFunction<
        NSRange Function(
          ffi.Pointer<objc.ObjCBlockImpl> block,
          ffi.Pointer<ffi.Void> arg0,
          NSPoint arg1,
        )
      >
    >()
    .asFunction<
      NSRange Function(
        ffi.Pointer<objc.ObjCBlockImpl>,
        ffi.Pointer<ffi.Void>,
        NSPoint,
      )
    >()(ref.pointer, arg0, arg1);