image_willLoadRepresentation_ property

ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep)> image_willLoadRepresentation_
final

image:willLoadRepresentation:

Implementation

static final image_willLoadRepresentation_ =
    objc.ObjCProtocolListenableMethod<void Function(NSImage, NSImageRep)>(
      _protocol_NSImageDelegate,
      _sel_image_willLoadRepresentation_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_fjrv01)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSImageDelegate,
        _sel_image_willLoadRepresentation_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (void Function(NSImage, NSImageRep) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSImage_NSImageRep.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSImage arg1, NSImageRep arg2) =>
                func(arg1, arg2),
          ),
      (void Function(NSImage, NSImageRep) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSImage_NSImageRep.listener(
            (ffi.Pointer<ffi.Void> _, NSImage arg1, NSImageRep arg2) =>
                func(arg1, arg2),
          ),
      (void Function(NSImage, NSImageRep) func) =>
          ObjCBlock_ffiVoid_ffiVoid_NSImage_NSImageRep.blocking(
            (ffi.Pointer<ffi.Void> _, NSImage arg1, NSImageRep arg2) =>
                func(arg1, arg2),
          ),
    );