browser_validateDrop_proposedRow_column_dropOperation_ property

ObjCProtocolMethod<NSDragOperation Function(NSBrowser, NSDraggingInfo, Pointer<NSInteger>, Pointer<NSInteger>, Pointer<NSUInteger>)> browser_validateDrop_proposedRow_column_dropOperation_
final

browser:validateDrop:proposedRow:column:dropOperation:

Implementation

static final browser_validateDrop_proposedRow_column_dropOperation_ =
    objc.ObjCProtocolMethod<
      NSDragOperation Function(
        NSBrowser,
        NSDraggingInfo,
        ffi.Pointer<NSInteger>,
        ffi.Pointer<NSInteger>,
        ffi.Pointer<NSUInteger>,
      )
    >(
      _protocol_NSBrowserDelegate,
      _sel_browser_validateDrop_proposedRow_column_dropOperation_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<NSInteger>,
                ffi.Pointer<NSInteger>,
                ffi.Pointer<NSUInteger>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1pxm63y)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSBrowserDelegate,
        _sel_browser_validateDrop_proposedRow_column_dropOperation_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSDragOperation Function(
          NSBrowser,
          NSDraggingInfo,
          ffi.Pointer<NSInteger>,
          ffi.Pointer<NSInteger>,
          ffi.Pointer<NSUInteger>,
        )
        func,
      ) =>
          ObjCBlock_NSDragOperation_ffiVoid_NSBrowser_idNSDraggingInfo_NSInteger_NSInteger_NSBrowserDropOperation.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSBrowser arg1,
              NSDraggingInfo arg2,
              ffi.Pointer<NSInteger> arg3,
              ffi.Pointer<NSInteger> arg4,
              ffi.Pointer<NSUInteger> arg5,
            ) => func(arg1, arg2, arg3, arg4, arg5),
          ),
    );