call method

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

Implementation

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