enumerateRangesWithOptions method

void enumerateRangesWithOptions(
  1. int opts, {
  2. required ObjCBlock<Void Function(NSRange, Pointer<Bool>)> usingBlock,
})

enumerateRangesWithOptions:usingBlock:

Implementation

void enumerateRangesWithOptions(
  int opts, {
  required objc.ObjCBlock<ffi.Void Function(NSRange, ffi.Pointer<ffi.Bool>)>
  usingBlock,
}) {
  objc.checkOsVersionInternal(
    'NSIndexSet.enumerateRangesWithOptions:usingBlock:',
    iOS: (false, (5, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  _objc_msgSend_yx8yc6(
    object$.ref.pointer,
    _sel_enumerateRangesWithOptions_usingBlock_,
    opts,
    usingBlock.ref.pointer,
  );
}