textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_ property

ObjCProtocolMethod<bool Function(NSTextLayoutManager, NSTextLocation, bool)> textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_
final

textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:

Implementation

static final textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_ =
    objc.ObjCProtocolMethod<
      bool Function(NSTextLayoutManager, NSTextLocation, bool)
    >(
      _protocol_NSTextLayoutManagerDelegate,
      _sel_textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Bool Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Bool,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_t3vpwz)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTextLayoutManagerDelegate,
        _sel_textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (bool Function(NSTextLayoutManager, NSTextLocation, bool) func) =>
          ObjCBlock_bool_ffiVoid_NSTextLayoutManager_idNSTextLocation_bool.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSTextLayoutManager arg1,
              NSTextLocation arg2,
              bool arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );