enumerateObjectsUsingBlock method

void enumerateObjectsUsingBlock(
  1. ObjCBlock<Void Function(Pointer<ObjCObjectImpl>, UnsignedLong, Pointer<Bool>)> block
)

enumerateObjectsUsingBlock:

Implementation

void enumerateObjectsUsingBlock(
  objc.ObjCBlock<
    ffi.Void Function(
      ffi.Pointer<objc.ObjCObjectImpl>,
      ffi.UnsignedLong,
      ffi.Pointer<ffi.Bool>,
    )
  >
  block,
) {
  objc.checkOsVersionInternal(
    'NSArray.enumerateObjectsUsingBlock:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  _objc_msgSend_f167m6(
    object$.ref.pointer,
    _sel_enumerateObjectsUsingBlock_,
    block.ref.pointer,
  );
}