textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment_ property

ObjCProtocolListenableMethod<void Function(NSTextViewportLayoutController, NSTextLayoutFragment)> textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment_
final

textViewportLayoutController:configureRenderingSurfaceForTextLayoutFragment:

Implementation

static final textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment_ =
    objc.ObjCProtocolListenableMethod<
      void Function(NSTextViewportLayoutController, NSTextLayoutFragment)
    >(
      _protocol_NSTextViewportLayoutControllerDelegate,
      _sel_textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Void Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_fjrv01)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewportLayoutControllerDelegate,
        _sel_textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (
        void Function(NSTextViewportLayoutController, NSTextLayoutFragment)
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextViewportLayoutController_NSTextLayoutFragment.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextViewportLayoutController arg1,
              NSTextLayoutFragment arg2,
            ) => func(arg1, arg2),
          ),
      (
        void Function(NSTextViewportLayoutController, NSTextLayoutFragment)
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextViewportLayoutController_NSTextLayoutFragment.listener(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextViewportLayoutController arg1,
              NSTextLayoutFragment arg2,
            ) => func(arg1, arg2),
          ),
      (
        void Function(NSTextViewportLayoutController, NSTextLayoutFragment)
        func,
      ) =>
          ObjCBlock_ffiVoid_ffiVoid_NSTextViewportLayoutController_NSTextLayoutFragment.blocking(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextViewportLayoutController arg1,
              NSTextLayoutFragment arg2,
            ) => func(arg1, arg2),
          ),
    );