enumerateKeysAndObjectsWithOptions method

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

enumerateKeysAndObjectsWithOptions:usingBlock:

Implementation

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