enumerateIndexesWithOptions method

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

enumerateIndexesWithOptions:usingBlock:

Implementation

void enumerateIndexesWithOptions(
  int opts, {
  required objc.ObjCBlock<
    ffi.Void Function(ffi.UnsignedLong, ffi.Pointer<ffi.Bool>)
  >
  usingBlock,
}) {
  objc.checkOsVersionInternal(
    'NSIndexSet.enumerateIndexesWithOptions:usingBlock:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  _objc_msgSend_yx8yc6(
    object$.ref.pointer,
    _sel_enumerateIndexesWithOptions_usingBlock_,
    opts,
    usingBlock.ref.pointer,
  );
}