undoManagerForTextView_ property

ObjCProtocolMethod<NSUndoManager? Function(NSTextView)> undoManagerForTextView_
final

undoManagerForTextView:

Implementation

static final undoManagerForTextView_ =
    objc.ObjCProtocolMethod<NSUndoManager? Function(NSTextView)>(
      _protocol_NSTextViewDelegate,
      _sel_undoManagerForTextView_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              instancetype Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_xr62hr)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextViewDelegate,
        _sel_undoManagerForTextView_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (NSUndoManager? Function(NSTextView) func) =>
          ObjCBlock_NSUndoManager_ffiVoid_NSTextView.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSTextView arg1) => func(arg1),
          ),
    );