metadataQuery_replacementObjectForResultObject_ property

ObjCProtocolMethod<ObjCObjectBase Function(NSMetadataQuery, NSMetadataItem)> metadataQuery_replacementObjectForResultObject_
final

metadataQuery:replacementObjectForResultObject:

Implementation

static final metadataQuery_replacementObjectForResultObject_ =
    objc.ObjCProtocolMethod<
      objc.ObjCObjectBase Function(NSMetadataQuery, NSMetadataItem)
    >(
      _protocol_NSMetadataQueryDelegate,
      _sel_metadataQuery_replacementObjectForResultObject_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSPasteboardType,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_zi5eed)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSMetadataQueryDelegate,
        _sel_metadataQuery_replacementObjectForResultObject_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (objc.ObjCObjectBase Function(NSMetadataQuery, NSMetadataItem) func) =>
          ObjCBlock_objcObjCObject_ffiVoid_NSMetadataQuery_NSMetadataItem.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSMetadataQuery arg1,
              NSMetadataItem arg2,
            ) => func(arg1, arg2),
          ),
    );