setMarkedText_selectedRange_ property

ObjCProtocolListenableMethod<void Function(ObjCObjectBase, NSRange)> setMarkedText_selectedRange_
final

setMarkedText:selectedRange:

Implementation

static final setMarkedText_selectedRange_ =
    objc.ObjCProtocolListenableMethod<
      void Function(objc.ObjCObjectBase, NSRange)
    >(
      _protocol_NSTextInput,
      _sel_setMarkedText_selectedRange_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSRange,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_ayxzy9)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextInput,
        _sel_setMarkedText_selectedRange_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (void Function(objc.ObjCObjectBase, NSRange) func) =>
          ObjCBlock_ffiVoid_ffiVoid_objcObjCObject_NSRange.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              objc.ObjCObjectBase arg1,
              NSRange arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(objc.ObjCObjectBase, NSRange) func) =>
          ObjCBlock_ffiVoid_ffiVoid_objcObjCObject_NSRange.listener(
            (
              ffi.Pointer<ffi.Void> _,
              objc.ObjCObjectBase arg1,
              NSRange arg2,
            ) => func(arg1, arg2),
          ),
      (void Function(objc.ObjCObjectBase, NSRange) func) =>
          ObjCBlock_ffiVoid_ffiVoid_objcObjCObject_NSRange.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              objc.ObjCObjectBase arg1,
              NSRange arg2,
            ) => func(arg1, arg2),
          ),
    );