savePresentedItemChangesWithCompletionHandler_ property

ObjCProtocolListenableMethod<void Function(ObjCBlock<Void Function(NSError?)>)> savePresentedItemChangesWithCompletionHandler_
final

savePresentedItemChangesWithCompletionHandler:

Implementation

static final savePresentedItemChangesWithCompletionHandler_ =
    objc.ObjCProtocolListenableMethod<
      void Function(objc.ObjCBlock<ffi.Void Function(objc.NSError?)>)
    >(
      _protocol_NSFilePresenter,
      _sel_savePresentedItemChangesWithCompletionHandler_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCBlockImpl>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1l4hxwm)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSFilePresenter,
        _sel_savePresentedItemChangesWithCompletionHandler_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        void Function(objc.ObjCBlock<ffi.Void Function(objc.NSError?)>) func,
      ) => ObjCBlock_ffiVoid_ffiVoid_ffiVoidNSError.fromFunction(
        (
          ffi.Pointer<ffi.Void> _,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg1,
        ) => func(arg1),
      ),
      (
        void Function(objc.ObjCBlock<ffi.Void Function(objc.NSError?)>) func,
      ) => ObjCBlock_ffiVoid_ffiVoid_ffiVoidNSError.listener(
        (
          ffi.Pointer<ffi.Void> _,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg1,
        ) => func(arg1),
      ),
      (
        void Function(objc.ObjCBlock<ffi.Void Function(objc.NSError?)>) func,
      ) => ObjCBlock_ffiVoid_ffiVoid_ffiVoidNSError.blocking(
        (
          ffi.Pointer<ffi.Void> _,
          objc.ObjCBlock<ffi.Void Function(objc.NSError?)> arg1,
        ) => func(arg1),
      ),
    );