textContentManager_shouldEnumerateTextElement_options_ property

ObjCProtocolMethod<bool Function(NSTextContentManager, NSTextElement, NSTextContentManagerEnumerationOptions)> textContentManager_shouldEnumerateTextElement_options_
final

textContentManager:shouldEnumerateTextElement:options:

Implementation

static final textContentManager_shouldEnumerateTextElement_options_ =
    objc.ObjCProtocolMethod<
      bool Function(
        NSTextContentManager,
        NSTextElement,
        NSTextContentManagerEnumerationOptions,
      )
    >(
      _protocol_NSTextContentManagerDelegate,
      _sel_textContentManager_shouldEnumerateTextElement_options_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                NSUInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_r3hakm)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextContentManagerDelegate,
        _sel_textContentManager_shouldEnumerateTextElement_options_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        bool Function(
          NSTextContentManager,
          NSTextElement,
          NSTextContentManagerEnumerationOptions,
        )
        func,
      ) =>
          ObjCBlock_bool_ffiVoid_NSTextContentManager_NSTextElement_NSTextContentManagerEnumerationOptions.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextContentManager arg1,
              NSTextElement arg2,
              NSTextContentManagerEnumerationOptions arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );