call method

ObjCObjectBase call(
  1. Pointer<Void> arg0,
  2. NSConnection arg1
)

Implementation

objc.ObjCObjectBase call(ffi.Pointer<ffi.Void> arg0, NSConnection arg1) =>
    objc.ObjCObjectBase(
      ref.pointer.ref.invoke
          .cast<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCBlockImpl> block,
                ffi.Pointer<ffi.Void> arg0,
                ffi.Pointer<objc.ObjCObject> arg1,
              )
            >
          >()
          .asFunction<
            ffi.Pointer<objc.ObjCObject> Function(
              ffi.Pointer<objc.ObjCBlockImpl>,
              ffi.Pointer<ffi.Void>,
              ffi.Pointer<objc.ObjCObject>,
            )
          >()(ref.pointer, arg0, arg1.ref.pointer),
      retain: true,
      release: true,
    );