textContentManager_textElementAtLocation_ property

ObjCProtocolMethod<NSTextElement? Function(NSTextContentManager, NSTextLocation)> textContentManager_textElementAtLocation_
final

textContentManager:textElementAtLocation:

Implementation

static final textContentManager_textElementAtLocation_ =
    objc.ObjCProtocolMethod<
      NSTextElement? Function(NSTextContentManager, NSTextLocation)
    >(
      _protocol_NSTextContentManagerDelegate,
      _sel_textContentManager_textElementAtLocation_,
      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_NSTextContentManagerDelegate,
        _sel_textContentManager_textElementAtLocation_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (NSTextElement? Function(NSTextContentManager, NSTextLocation) func) =>
          ObjCBlock_NSTextElement_ffiVoid_NSTextContentManager_idNSTextLocation.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextContentManager arg1,
              NSTextLocation arg2,
            ) => func(arg1, arg2),
          ),
    );