enumerateCaretOffsetsInLineFragmentAtLocation_usingBlock_ property
ObjCProtocolListenableMethod<void Function(NSTextLocation, ObjCBlock<Void Function(Double, Pointer<ObjCObject> , Bool, Pointer<Bool> )> )>
enumerateCaretOffsetsInLineFragmentAtLocation_usingBlock_
final
enumerateCaretOffsetsInLineFragmentAtLocation:usingBlock:
Implementation
static final enumerateCaretOffsetsInLineFragmentAtLocation_usingBlock_ =
objc.ObjCProtocolListenableMethod<
void Function(
NSTextLocation,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>,
)
>(
_protocol_NSTextSelectionDataSource,
_sel_enumerateCaretOffsetsInLineFragmentAtLocation_usingBlock_,
ffi.Native.addressOf<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<ffi.Void>,
ffi.Pointer<objc.ObjCObject>,
ffi.Pointer<objc.ObjCBlockImpl>,
)
>
>(_NativeBindingBindings_protocolTrampoline_jk1ljc)
.cast(),
objc.getProtocolMethodSignature(
_protocol_NSTextSelectionDataSource,
_sel_enumerateCaretOffsetsInLineFragmentAtLocation_usingBlock_,
isRequired: true,
isInstanceMethod: true,
),
(
void Function(
NSTextLocation,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_idNSTextLocation_ffiVoidCGFloatidNSTextLocationboolbool.fromFunction(
(
ffi.Pointer<ffi.Void> _,
NSTextLocation arg1,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>
arg2,
) => func(arg1, arg2),
),
(
void Function(
NSTextLocation,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_idNSTextLocation_ffiVoidCGFloatidNSTextLocationboolbool.listener(
(
ffi.Pointer<ffi.Void> _,
NSTextLocation arg1,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>
arg2,
) => func(arg1, arg2),
),
(
void Function(
NSTextLocation,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>,
)
func,
) =>
ObjCBlock_ffiVoid_ffiVoid_idNSTextLocation_ffiVoidCGFloatidNSTextLocationboolbool.blocking(
(
ffi.Pointer<ffi.Void> _,
NSTextLocation arg1,
objc.ObjCBlock<
ffi.Void Function(
ffi.Double,
ffi.Pointer<objc.ObjCObject>,
ffi.Bool,
ffi.Pointer<ffi.Bool>,
)
>
arg2,
) => func(arg1, arg2),
),
);